{
  "openapi": "3.1.0",
  "info": {
    "title": "Desktop Accounting API",
    "version": "1.0.0",
    "description": "REST API for QuickBooks Desktop through the QuickBooks Web Connector."
  },
  "servers": [
    {
      "url": "https://api.desktopaccountingapi.com",
      "description": "Production"
    },
    {
      "url": "https://api-staging.desktopaccountingapi.com",
      "description": "Staging"
    }
  ],
  "tags": [
    {
      "name": "End users",
      "description": "Your customers, each mapped to one QuickBooks Desktop company file."
    },
    {
      "name": "Auth sessions",
      "description": "Links to the hosted setup flow that connects an end user's QuickBooks Desktop."
    },
    {
      "name": "Requests",
      "description": "Status, timeline, diagnosis and results of QuickBooks-bound requests."
    },
    {
      "name": "Webhooks",
      "description": "Signed event notifications (Standard Webhooks) for request completion and connection status."
    },
    {
      "name": "Health check",
      "description": "A real round trip to the end user's QuickBooks Desktop to confirm the connection works."
    },
    {
      "name": "Passthrough",
      "description": "Raw qbXML requests for anything the typed operations do not cover."
    },
    {
      "name": "Bill check payments",
      "description": "Payments of vendor bills made by check."
    },
    {
      "name": "Bill credit card payments",
      "description": "Payments of vendor bills charged to a credit card."
    },
    {
      "name": "Bills",
      "description": "Vendor bills recorded in accounts payable."
    },
    {
      "name": "Bills to pay",
      "description": "Open bills and available credits for one vendor, ready for payment."
    },
    {
      "name": "Build assemblies",
      "description": "Transactions that build inventory assembly items from their components."
    },
    {
      "name": "Checks",
      "description": "Checks written from a bank account."
    },
    {
      "name": "Credit card charges",
      "description": "Purchases charged to a company credit card account."
    },
    {
      "name": "Credit card credits",
      "description": "Refunds or credits received on a company credit card account."
    },
    {
      "name": "Credit card refunds",
      "description": "Refunds paid to customers onto their credit cards."
    },
    {
      "name": "Credit memos",
      "description": "Credits issued to customers for returns or adjustments."
    },
    {
      "name": "Deleted transactions",
      "description": "Transactions deleted in the last 90 days."
    },
    {
      "name": "Deposits",
      "description": "Bank deposits of received payments and other funds."
    },
    {
      "name": "Estimates",
      "description": "Quotes or bids sent to customers."
    },
    {
      "name": "Inventory adjustments",
      "description": "Changes to inventory quantity or value outside of purchases and sales."
    },
    {
      "name": "Invoices",
      "description": "Invoices that bill customers for goods or services."
    },
    {
      "name": "Item receipts",
      "description": "Receipts of purchased items before the vendor bill arrives."
    },
    {
      "name": "Journal entries",
      "description": "General journal entries with debit and credit lines."
    },
    {
      "name": "Payments to deposit",
      "description": "Received payments waiting in Undeposited Funds."
    },
    {
      "name": "Purchase orders",
      "description": "Orders placed with vendors."
    },
    {
      "name": "Receive payments",
      "description": "Customer payments applied to invoices and charges."
    },
    {
      "name": "Sales orders",
      "description": "Customer orders to be fulfilled later."
    },
    {
      "name": "Sales receipts",
      "description": "Sales paid in full at the time of sale."
    },
    {
      "name": "Sales tax payment checks",
      "description": "Checks that pay sales tax owed to tax agencies."
    },
    {
      "name": "Time tracking activities",
      "description": "Time entries recorded for employees, vendors or other names."
    },
    {
      "name": "Transactions",
      "description": "A cross-type view of transactions for search and sync."
    },
    {
      "name": "Transfers",
      "description": "Transfers of funds between two accounts."
    },
    {
      "name": "Vendor credits",
      "description": "Credits received from vendors."
    },
    {
      "name": "Account tax lines",
      "description": "Tax-form lines that accounts can be assigned to for income tax reporting."
    },
    {
      "name": "Accounts",
      "description": "Chart-of-accounts entries that transactions post to."
    },
    {
      "name": "Classes",
      "description": "Classes used to segment transactions for reporting."
    },
    {
      "name": "Company",
      "description": "Company file information such as legal name, address and subscribed services."
    },
    {
      "name": "Currencies",
      "description": "Currencies available when multicurrency is enabled."
    },
    {
      "name": "Customer types",
      "description": "Categories used to group customers."
    },
    {
      "name": "Customers",
      "description": "Customers and jobs that the company sells to."
    },
    {
      "name": "Date driven terms",
      "description": "Payment terms due on a fixed day of the month."
    },
    {
      "name": "Deleted list objects",
      "description": "List objects deleted in the last 90 days."
    },
    {
      "name": "Employees",
      "description": "Employees on the company payroll list."
    },
    {
      "name": "Inventory sites",
      "description": "Locations that hold inventory when Advanced Inventory is enabled."
    },
    {
      "name": "Other names",
      "description": "Names that are not customers, vendors or employees."
    },
    {
      "name": "Payment methods",
      "description": "Ways customers pay, such as cash, check or card."
    },
    {
      "name": "Payroll wage items",
      "description": "Payroll items for wages and salaries."
    },
    {
      "name": "Preferences",
      "description": "Company-wide QuickBooks preference settings."
    },
    {
      "name": "Price levels",
      "description": "Price adjustments applied to customers or items."
    },
    {
      "name": "Sales representatives",
      "description": "People credited with sales on forms."
    },
    {
      "name": "Sales tax codes",
      "description": "Codes that mark items or customers as taxable or non-taxable."
    },
    {
      "name": "Shipping methods",
      "description": "Carriers or ways goods are shipped."
    },
    {
      "name": "Standard terms",
      "description": "Payment terms due a number of days after the transaction date."
    },
    {
      "name": "Templates",
      "description": "Form templates used to print or email transactions."
    },
    {
      "name": "Unit of measure sets",
      "description": "Sets of related units used to buy, sell and stock items."
    },
    {
      "name": "Vendors",
      "description": "Vendors the company buys from."
    },
    {
      "name": "Discount items",
      "description": "Items that subtract an amount or percentage on sales forms."
    },
    {
      "name": "Inventory assembly items",
      "description": "Inventory items built from other inventory items."
    },
    {
      "name": "Inventory items",
      "description": "Items whose quantity on hand QuickBooks tracks."
    },
    {
      "name": "Item groups",
      "description": "Named sets of items entered together on a form."
    },
    {
      "name": "Item sites",
      "description": "Per-site inventory quantities and reorder points."
    },
    {
      "name": "Non inventory items",
      "description": "Items bought or sold without tracking quantity on hand."
    },
    {
      "name": "Other charge items",
      "description": "Items for miscellaneous charges such as delivery or service fees."
    },
    {
      "name": "Sales tax group items",
      "description": "Groups of sales tax items charged together."
    },
    {
      "name": "Sales tax items",
      "description": "Single sales tax rates owed to one tax agency."
    },
    {
      "name": "Service items",
      "description": "Items for services bought or sold."
    },
    {
      "name": "Subtotal items",
      "description": "Items that total the lines above them on a form."
    },
    {
      "name": "Reports",
      "description": "Built-in QuickBooks reports returned as structured rows and columns."
    }
  ],
  "x-tagGroups": [
    {
      "name": "Platform",
      "tags": [
        "End users",
        "Auth sessions",
        "Requests",
        "Webhooks",
        "Health check",
        "Passthrough"
      ]
    },
    {
      "name": "Transactions",
      "tags": [
        "Bill check payments",
        "Bill credit card payments",
        "Bills",
        "Bills to pay",
        "Build assemblies",
        "Checks",
        "Credit card charges",
        "Credit card credits",
        "Credit card refunds",
        "Credit memos",
        "Deleted transactions",
        "Deposits",
        "Estimates",
        "Inventory adjustments",
        "Invoices",
        "Item receipts",
        "Journal entries",
        "Payments to deposit",
        "Purchase orders",
        "Receive payments",
        "Sales orders",
        "Sales receipts",
        "Sales tax payment checks",
        "Time tracking activities",
        "Transactions",
        "Transfers",
        "Vendor credits"
      ]
    },
    {
      "name": "Lists",
      "tags": [
        "Account tax lines",
        "Accounts",
        "Classes",
        "Company",
        "Currencies",
        "Customer types",
        "Customers",
        "Date driven terms",
        "Deleted list objects",
        "Employees",
        "Inventory sites",
        "Other names",
        "Payment methods",
        "Payroll wage items",
        "Preferences",
        "Price levels",
        "Sales representatives",
        "Sales tax codes",
        "Shipping methods",
        "Standard terms",
        "Templates",
        "Unit of measure sets",
        "Vendors"
      ]
    },
    {
      "name": "Items",
      "tags": [
        "Discount items",
        "Inventory assembly items",
        "Inventory items",
        "Item groups",
        "Item sites",
        "Non inventory items",
        "Other charge items",
        "Sales tax group items",
        "Sales tax items",
        "Service items",
        "Subtotal items"
      ]
    },
    {
      "name": "Reports",
      "tags": [
        "Reports"
      ]
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "description": "A project secret key (`sk_live_...` or `sk_test_...`) from the dashboard. Use it only from your server. A key is full access or read-only; a read-only key can call every GET operation and passthrough requests that contain only queries, and any other call returns `403 API_KEY_READ_ONLY` before it is queued."
      }
    },
    "parameters": {
      "DaapiEndUserId": {
        "name": "Daapi-End-User-Id",
        "in": "header",
        "required": true,
        "description": "The end user whose QuickBooks company file this request uses. `Conductor-End-User-Id` is accepted as an alias.",
        "schema": {
          "type": "string",
          "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$"
        },
        "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb",
        "x-daapi-runtime-header": true
      },
      "DaapiTimeoutSeconds": {
        "name": "Daapi-Timeout-Seconds",
        "in": "header",
        "required": false,
        "description": "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`).",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 300
        },
        "example": 90,
        "x-daapi-runtime-header": true
      },
      "Prefer": {
        "name": "Prefer",
        "in": "header",
        "required": false,
        "description": "Send `respond-async` to get `202 Accepted` with a request resource immediately instead of waiting for QuickBooks.",
        "schema": {
          "type": "string",
          "const": "respond-async"
        },
        "example": "respond-async",
        "x-daapi-runtime-header": true
      },
      "DaapiQueueTtlSeconds": {
        "name": "Daapi-Queue-Ttl-Seconds",
        "in": "header",
        "required": false,
        "description": "Async only: the latest time, in seconds from now (10 to 86400), the request may still be sent to QuickBooks. Default 3600.",
        "schema": {
          "type": "integer",
          "minimum": 10,
          "maximum": 86400
        },
        "example": 3600,
        "x-daapi-runtime-header": true
      },
      "IdempotencyKey": {
        "name": "Idempotency-Key",
        "in": "header",
        "required": false,
        "description": "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`.",
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255,
          "pattern": "^[\\x20-\\x7e]+$"
        },
        "example": "6f1c2a0e-1f7e-4c55-9a7a-0b2d2c9e3a10",
        "x-daapi-runtime-header": true
      }
    },
    "schemas": {
      "EndUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the end user.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "end_user"
            ],
            "description": "Always `end_user`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the end user was created. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "companyName": {
            "type": "string",
            "description": "The end user's company name, shown in the setup flow.",
            "example": "Acme Supply"
          },
          "sourceId": {
            "type": "string",
            "description": "Your identifier for this end user. Unique within the project.",
            "example": "cust_8812"
          },
          "email": {
            "type": "string",
            "description": "Contact email, for your identification only. We never email end users.",
            "example": "ops@acme.example"
          },
          "integrationConnections": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IntegrationConnection"
            },
            "description": "QuickBooks Desktop connections. Empty until the first auth session is created; at most one in v1."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "companyName",
          "sourceId",
          "email",
          "integrationConnections"
        ]
      },
      "IntegrationConnection": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^conn_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the connection.",
            "example": "conn_01j9x4m6v4c8k2t7q0r5s3w1zc"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "integration_connection"
            ],
            "description": "Always `integration_connection`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the connection was created. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "integrationSlug": {
            "type": "string",
            "enum": [
              "quickbooks_desktop"
            ],
            "description": "The integration this connection uses."
          },
          "status": {
            "type": "string",
            "enum": [
              "pending_setup",
              "online",
              "quickbooks_unavailable",
              "company_file_mismatch",
              "offline",
              "disabled"
            ],
            "description": "Derived connection status. `pending_setup`: no Web Connector has finished setup. `online`: the Web Connector checked in recently and the last QuickBooks session opened. `quickbooks_unavailable`: the Web Connector checks in but QuickBooks could not be opened (`statusReason` holds the error code). `company_file_mismatch`: a different company file is open. `offline`: no recent check-in. `disabled`: turned off by the developer.",
            "x-daapi-open-enum": true
          },
          "statusReason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Code explaining a non-online status, when known: an error code (for example `QBD_ACCESS_NOT_GRANTED`), `QBD_QUICKBOOKS_NOT_RESPONDING` (the Web Connector checks in but QuickBooks does not answer, usually because a dialog is open) or `WEB_CONNECTOR_SCHEDULE_CHANGED`.",
            "example": "QBD_QUICKBOOKS_NOT_RESPONDING"
          },
          "lastRequestAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the last request for this connection was made. UTC, ISO 8601."
          },
          "lastSuccessfulRequestAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the last request succeeded. UTC, ISO 8601."
          },
          "lastHeartbeatAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the Web Connector last checked in. UTC, ISO 8601."
          },
          "companyFile": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "companyName": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Company name reported by QuickBooks."
              },
              "product": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "QuickBooks product and version reported by QuickBooks.",
                "example": "QuickBooks Enterprise Solutions: General Business 24.0"
              },
              "qbxmlVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "qbXML version used with this company file.",
                "example": "16.0"
              },
              "country": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "QuickBooks edition country.",
                "example": "US"
              }
            },
            "required": [
              "companyName",
              "product",
              "qbxmlVersion",
              "country"
            ],
            "description": "The connected company file, once a session has opened."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "integrationSlug",
          "status",
          "statusReason",
          "lastRequestAt",
          "lastSuccessfulRequestAt",
          "lastHeartbeatAt",
          "companyFile"
        ]
      },
      "ErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        },
        "required": [
          "error"
        ]
      },
      "Error": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "INVALID_REQUEST_ERROR",
              "AUTHENTICATION_ERROR",
              "PERMISSION_ERROR",
              "BILLING_ERROR",
              "RATE_LIMIT_ERROR",
              "INTEGRATION_CONNECTION_ERROR",
              "INTEGRATION_ERROR",
              "OUTCOME_UNKNOWN_ERROR",
              "INTERNAL_ERROR"
            ],
            "description": "Error category. Use it to choose between retrying, fixing the request and asking the end user to act.",
            "x-daapi-open-enum": true
          },
          "code": {
            "type": "string",
            "enum": [
              "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",
              "REQUEST_NOT_CANCELABLE",
              "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",
              "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_FILE_MODE_CONFLICT",
              "QBD_ADMIN_REQUIRED",
              "QBD_ACCESS_NOT_GRANTED",
              "QBD_VERSION_UNSUPPORTED",
              "QBD_REQUEST_ERROR",
              "QBD_OBJECT_NOT_FOUND",
              "QBD_REFERENCE_NOT_FOUND",
              "QBD_DUPLICATE_NAME",
              "QBD_REVISION_NUMBER_STALE",
              "QBD_OBJECT_IN_USE",
              "QBD_FEATURE_NOT_ENABLED",
              "QBD_INSUFFICIENT_PERMISSION",
              "QBD_RESPONSE_TOO_LARGE",
              "QBD_OPERATION_UNSUPPORTED",
              "QBD_RESPONSE_UNREADABLE",
              "REQUEST_TIMEOUT_NOT_SENT",
              "REQUEST_EXPIRED",
              "REQUEST_CANCELED",
              "QBD_REQUEST_TIMEOUT",
              "QBD_WRITE_OUTCOME_UNKNOWN",
              "QBD_READ_INTERRUPTED",
              "INTERNAL_ERROR",
              "SERVICE_UNAVAILABLE"
            ],
            "description": "Stable error code from the error catalog. New codes may be added; a code's meaning never changes.",
            "x-daapi-open-enum": true,
            "example": "QBD_MODAL_DIALOG_OPEN"
          },
          "message": {
            "type": "string",
            "description": "Developer-facing explanation. May include IDs and field paths; never includes secrets."
          },
          "userFacingMessage": {
            "type": "string",
            "description": "A message that is safe to show to the end user."
          },
          "httpStatusCode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "HTTP status of the response. `null` for codes that appear only on a request resource (`REQUEST_EXPIRED`, `REQUEST_CANCELED`).",
            "example": 503
          },
          "integrationCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Native QuickBooks code when one exists: a qbXML statusCode (`\"3200\"`), an HRESULT (`\"0x80040414\"`) or a Web Connector code.",
            "example": "0x80040414"
          },
          "requestId": {
            "type": "string",
            "description": "The `Daapi-Request-Id` of this response. Include it when contacting support.",
            "example": "req_01j9x4m6v4c8k2t7q0r5s3w1zd"
          },
          "cause": {
            "type": "string",
            "description": "Why this error happens."
          },
          "fixes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorFix"
            },
            "description": "Ordered actions that resolve the error, each with the responsible actor."
          },
          "docsUrl": {
            "type": "string",
            "format": "uri",
            "description": "Documentation section for this code.",
            "example": "https://www.desktopaccountingapi.com/docs/errors/#qbd_modal_dialog_open"
          },
          "retryable": {
            "type": "boolean",
            "description": "Repeating the identical request (with the same Idempotency-Key for writes) can succeed without changes. Also sent as the `Daapi-Should-Retry` header."
          },
          "outcome": {
            "type": "string",
            "enum": [
              "applied",
              "not_applied",
              "pending",
              "unknown",
              "not_applicable"
            ],
            "description": "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).",
            "x-daapi-open-enum": true
          },
          "param": {
            "type": [
              "string",
              "null"
            ],
            "description": "Request field, query parameter or header the error refers to, when known.",
            "example": "companyName"
          },
          "details": {
            "type": "object",
            "additionalProperties": {},
            "description": "Code-specific details, documented per code in the error catalog."
          }
        },
        "required": [
          "type",
          "code",
          "message",
          "userFacingMessage",
          "httpStatusCode",
          "integrationCode",
          "requestId",
          "cause",
          "fixes",
          "docsUrl",
          "retryable",
          "outcome",
          "param",
          "details"
        ]
      },
      "ErrorFix": {
        "type": "object",
        "properties": {
          "actor": {
            "type": "string",
            "enum": [
              "developer",
              "end_user",
              "support"
            ],
            "description": "Who can apply the fix.",
            "x-daapi-open-enum": true
          },
          "action": {
            "type": "string",
            "description": "What to do."
          }
        },
        "required": [
          "actor",
          "action"
        ]
      },
      "EndUserCreateInput": {
        "type": "object",
        "properties": {
          "companyName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "The end user's company name, shown in the setup flow. 1–255 characters.",
            "example": "Acme Supply"
          },
          "sourceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Your identifier for this end user, unique within the project. 1–255 characters.",
            "example": "cust_8812"
          },
          "email": {
            "type": "string",
            "maxLength": 320,
            "format": "email",
            "description": "Contact email for your identification. We never email end users.",
            "example": "ops@acme.example"
          }
        },
        "required": [
          "companyName",
          "sourceId",
          "email"
        ],
        "additionalProperties": false
      },
      "EndUserList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/end-users"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EndUser"
            },
            "description": "Objects on this page, newest first."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `cursor` to fetch the next page; `null` on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether another page exists."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always `null` for platform lists."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always `null`: platform cursors do not expire."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "EndUserUpdateInput": {
        "type": "object",
        "properties": {
          "companyName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "The end user's company name, shown in the setup flow. 1–255 characters.",
            "example": "Acme Supply"
          },
          "sourceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Your identifier for this end user, unique within the project. 1–255 characters.",
            "example": "cust_8812"
          },
          "email": {
            "type": "string",
            "maxLength": 320,
            "format": "email",
            "description": "Contact email for your identification. We never email end users.",
            "example": "ops@acme.example"
          }
        },
        "additionalProperties": false
      },
      "EndUserDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the end user.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "end_user"
            ],
            "description": "Always `end_user`."
          },
          "deleted": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Always `true`."
          }
        },
        "required": [
          "id",
          "objectType",
          "deleted"
        ]
      },
      "EndUserResetCompanyFileInput": {
        "type": "object",
        "properties": {
          "mode": {
            "type": "string",
            "enum": [
              "path",
              "identity"
            ],
            "description": "`path`: forget the stored company file location (the file was moved or renamed on disk); the next session uses the file open in QuickBooks. `identity`: also forget the company identity (the company was renamed, or the end user deliberately switched to another file); the next session that QuickBooks answers becomes the connected company file.",
            "x-daapi-open-enum": true
          },
          "confirm": {
            "type": "string",
            "enum": [
              "reset_company_file"
            ],
            "description": "Must be `reset_company_file`. Confirms you checked with the end user which company file is correct: with `identity`, whatever file is open next is accepted."
          }
        },
        "required": [
          "mode",
          "confirm"
        ],
        "additionalProperties": false
      },
      "AuthSession": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^authsess_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the auth session.",
            "example": "authsess_01j9x4m6v4c8k2t7q0r5s3w1ze"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "auth_session"
            ],
            "description": "Always `auth_session`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the auth session was created. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "endUserId": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the end user.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "clientSecret": {
            "type": "string",
            "description": "Secret that authorizes the setup flow. It is part of `authFlowUrl`; treat both as credentials and send them only to the end user.",
            "example": "authsess_secret_7fYk2m9QxR3pL8vN1cT6bW4zH0dJ5sA9gE2uK7iO3qM"
          },
          "authFlowUrl": {
            "type": "string",
            "format": "uri",
            "description": "Link to the hosted setup flow. Open it on the computer that runs QuickBooks Desktop, share it with the end user, or embed it in an iframe.",
            "example": "https://connect.desktopaccountingapi.com/setup/authsess_secret_7fYk2m9QxR3pL8vN1cT6bW4zH0dJ5sA9gE2uK7iO3qM"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "When `authFlowUrl` stops working. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "redirectUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "Where the end user returns after the flow, or `null`."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "endUserId",
          "clientSecret",
          "authFlowUrl",
          "expiresAt",
          "redirectUrl"
        ]
      },
      "AuthSessionCreateInput": {
        "type": "object",
        "properties": {
          "publishableKey": {
            "type": "string",
            "pattern": "^pk_(live|test)_[0-9A-Za-z]{24}$",
            "description": "The project's publishable key. It must belong to the same project as the secret key.",
            "example": "pk_test_4eC39HqLyjWDarjtT1zdp7dc"
          },
          "endUserId": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "The end user who will connect QuickBooks Desktop.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "linkExpiryMins": {
            "type": "integer",
            "minimum": 15,
            "maximum": 10080,
            "default": 30,
            "description": "Minutes until `authFlowUrl` expires, 15–10080 (7 days). Default 30.",
            "example": 30
          },
          "redirectUrl": {
            "type": "string",
            "maxLength": 2000,
            "format": "uri",
            "description": "Absolute `https` URL to return the end user to when they finish (`?authSessionId=...&status=completed`) or stop (`status=canceled`). Test projects may also use `http://localhost`.",
            "example": "https://app.example.com/quickbooks/connected"
          }
        },
        "required": [
          "publishableKey",
          "endUserId"
        ],
        "additionalProperties": false
      },
      "PassthroughResponse": {
        "type": "object",
        "additionalProperties": {},
        "description": "The qbXML response elements as JSON, keyed by element name, using the same conventions as the request. An element that appears more than once is an array.",
        "example": {
          "CustomerQueryRs": {
            "@statusCode": "0",
            "@statusSeverity": "Info",
            "@statusMessage": "Status OK",
            "CustomerRet": [
              {
                "ListID": "80000001-1234567890",
                "Name": "Acme Supply"
              }
            ]
          }
        }
      },
      "Request": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^req_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the request.",
            "example": "req_01j9x4m6v4c8k2t7q0r5s3w1zd"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "request"
            ],
            "description": "Always `request`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the request was received. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "projectId": {
            "type": "string",
            "pattern": "^proj_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the project.",
            "example": "proj_01j9x4m6v4c8k2t7q0r5s3w1zf"
          },
          "endUserId": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the end user.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "connectionId": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^conn_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "The connection that carried the request; null when the call was rejected before the end user had a connection (no setup link created yet).",
            "example": "conn_01j9x4m6v4c8k2t7q0r5s3w1zc"
          },
          "operationId": {
            "type": "string",
            "description": "The API operation, for example `endUsers.passthrough` or `qbd.healthCheck`.",
            "example": "qbd.healthCheck"
          },
          "method": {
            "type": "string",
            "description": "HTTP method of the original call.",
            "example": "GET"
          },
          "path": {
            "type": "string",
            "description": "Path of the original call.",
            "example": "/v1/quickbooks-desktop/health-check"
          },
          "mode": {
            "type": "string",
            "enum": [
              "sync",
              "async"
            ],
            "description": "`sync` when the caller waited for the result.",
            "x-daapi-open-enum": true
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "waiting_for_connection",
              "sent",
              "succeeded",
              "failed",
              "canceled",
              "outcome_unknown"
            ],
            "description": "`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. `succeeded` and `failed` are final. `canceled`: canceled before it was sent. `outcome_unknown`: a write was sent and its result could not be confirmed.",
            "x-daapi-open-enum": true
          },
          "outcome": {
            "type": "string",
            "enum": [
              "applied",
              "not_applied",
              "pending",
              "unknown",
              "not_applicable"
            ],
            "description": "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).",
            "x-daapi-open-enum": true
          },
          "sentAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the request was handed to the Web Connector. UTC, ISO 8601."
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the request reached a final status. UTC, ISO 8601."
          },
          "durationMs": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Milliseconds from creation to completion."
          },
          "idempotencyKeyPresent": {
            "type": "boolean",
            "description": "Whether the call sent an Idempotency-Key."
          },
          "previousRequestId": {
            "type": [
              "string",
              "null"
            ],
            "description": "An earlier request with the same Idempotency-Key that ended before reaching QuickBooks."
          },
          "waitingReason": {
            "type": [
              "string",
              "null"
            ],
            "enum": [
              "awaiting_check_in",
              "behind_other_requests",
              "opening_company_file",
              "quickbooks_starting",
              "connector_offline",
              "quickbooks_unavailable",
              "quickbooks_not_responding",
              "write_recovery_pending",
              null
            ],
            "description": "Why a queued request is waiting. `quickbooks_not_responding`: the Web Connector started a session but QuickBooks has not answered it (usually a QuickBooks dialog is open; see `diagnosis`). `null` once the request was sent.",
            "x-daapi-open-enum": true
          },
          "queuePosition": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Position in this connection's queue (1 = next), while queued."
          },
          "queueTtlExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Async requests only: the latest time the request may still be sent. UTC, ISO 8601."
          },
          "timings": {
            "type": "object",
            "properties": {
              "queuedMs": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Milliseconds from creation until the request was sent to QuickBooks."
              },
              "quickbooksMs": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Milliseconds from sending until QuickBooks answered."
              },
              "totalMs": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Milliseconds from creation to completion."
              }
            },
            "required": [
              "queuedMs",
              "quickbooksMs",
              "totalMs"
            ],
            "description": "Where the time went."
          },
          "quickbooks": {
            "type": "object",
            "properties": {
              "qbxmlVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "qbXML version used."
              },
              "messageSetId": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "qbXML `newMessageSetID` sent with a write."
              },
              "statusCode": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "qbXML statusCode of the first response element."
              },
              "statusSeverity": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "qbXML statusSeverity (`Info`, `Warn` or `Error`)."
              }
            },
            "required": [
              "qbxmlVersion",
              "messageSetId",
              "statusCode",
              "statusSeverity"
            ],
            "description": "Native QuickBooks details."
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestWarning"
            },
            "description": "QuickBooks warnings (`statusSeverity=\"Warn\"`) and values the API read leniently from a damaged company file. The response body never drops a record for these; affected values are null."
          },
          "recovered": {
            "type": "boolean",
            "description": "`true` when an `outcome_unknown` write was resolved by asking QuickBooks for its stored result."
          },
          "timeline": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestTimelineEntry"
            },
            "description": "Lifecycle steps in order."
          },
          "diagnosis": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RequestDiagnosis"
              },
              {
                "type": "null"
              }
            ],
            "description": "Probable causes while the request waits or runs long, and for requests that timed out or expired before they were sent; `null` otherwise."
          },
          "error": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Error"
              },
              {
                "type": "null"
              }
            ],
            "description": "The error, when the request failed, was canceled, timed out or has an unknown outcome."
          },
          "result": {
            "description": "The response body the original call returned (or would have returned) on success; `null` otherwise."
          },
          "resultExpired": {
            "type": "boolean",
            "description": "`true` when the result existed but is past the payload retention period (15 days, or 24 hours with payload capture off)."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "projectId",
          "endUserId",
          "connectionId",
          "operationId",
          "method",
          "path",
          "mode",
          "status",
          "outcome",
          "sentAt",
          "completedAt",
          "durationMs",
          "idempotencyKeyPresent",
          "previousRequestId",
          "waitingReason",
          "queuePosition",
          "queueTtlExpiresAt",
          "timings",
          "quickbooks",
          "warnings",
          "recovered",
          "timeline",
          "diagnosis",
          "error",
          "resultExpired"
        ]
      },
      "RequestWarning": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "`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.",
            "enum": [
              "QBD_WARNING",
              "QBD_VALUE_UNREADABLE",
              "QBD_MARKUP_REPAIRED"
            ],
            "x-daapi-open-enum": true
          },
          "statusCode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "qbXML statusCode of a QuickBooks warning; null for warnings about the response data."
          },
          "message": {
            "type": "string",
            "description": "What happened, including the text QuickBooks sent for unreadable values."
          },
          "path": {
            "type": [
              "string",
              "null"
            ],
            "description": "Where in `result` the affected value is, such as `data[2].lines[0].amount`; null for QuickBooks warning statuses."
          }
        },
        "required": [
          "code",
          "statusCode",
          "message",
          "path"
        ]
      },
      "RequestTimelineEntry": {
        "type": "object",
        "properties": {
          "at": {
            "type": "string",
            "format": "date-time",
            "description": "When the step happened. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "status": {
            "type": "string",
            "description": "Step, usually a status (`queued`, `waiting`, `sent`, `succeeded`, `diagnosed`, ...)."
          },
          "detail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Extra detail, for example the waiting reason or diagnosis cause."
          },
          "elapsedMs": {
            "type": "integer",
            "description": "Milliseconds since the request was created."
          }
        },
        "required": [
          "at",
          "status",
          "detail",
          "elapsedMs"
        ]
      },
      "RequestDiagnosis": {
        "type": "object",
        "properties": {
          "at": {
            "type": "string",
            "format": "date-time",
            "description": "When the diagnosis was made. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "summary": {
            "type": "string",
            "description": "The most likely cause in one line.",
            "example": "QuickBooks Desktop probably has a dialog window open."
          },
          "connector": {
            "type": "object",
            "properties": {
              "lastSeenAt": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Last sign of the Web Connector (a check-in or a call inside a session). UTC, ISO 8601."
              },
              "lastCheckInAt": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Last Web Connector check-in. UTC, ISO 8601."
              },
              "checkInIntervalSeconds": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Typical interval between recent check-ins, in seconds."
              },
              "silentForSeconds": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Seconds since `lastSeenAt`."
              },
              "sessionOpen": {
                "type": "boolean",
                "description": "Whether a Web Connector session is open now."
              },
              "sessionOpenedAt": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "When the open session started. UTC, ISO 8601."
              },
              "quickbooksAnswered": {
                "type": [
                  "boolean",
                  "null"
                ],
                "description": "Whether QuickBooks answered the open session; `null` without a session."
              },
              "silentSessions": {
                "type": "integer",
                "description": "Recent consecutive sessions in which QuickBooks never answered."
              },
              "lastConnectionErrorCode": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Error code of the latest QuickBooks connection error, while it persists."
              }
            },
            "required": [
              "lastSeenAt",
              "lastCheckInAt",
              "checkInIntervalSeconds",
              "silentForSeconds",
              "sessionOpen",
              "sessionOpenedAt",
              "quickbooksAnswered",
              "silentSessions",
              "lastConnectionErrorCode"
            ],
            "description": "What the server observed about the end user's Web Connector."
          },
          "probableCauses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiagnosisCause"
            },
            "description": "Probable causes, most likely first."
          }
        },
        "required": [
          "at",
          "summary",
          "connector",
          "probableCauses"
        ],
        "description": "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."
      },
      "DiagnosisCause": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "enum": [
              "quickbooks_modal_dialog",
              "web_connector_registration_lost",
              "quickbooks_starting",
              "other_web_connector_app",
              "web_connector_closed",
              "computer_offline",
              "web_connector_schedule_changed",
              "quickbooks_closed_no_unattended_access",
              "quickbooks_unavailable",
              "wrong_company_file",
              "write_recovery_pending",
              "behind_other_requests",
              "quickbooks_processing",
              "session_interrupted",
              "same_connector_two_computers",
              "awaiting_check_in"
            ],
            "description": "Stable cause code. New codes may be added.",
            "x-daapi-open-enum": true,
            "example": "quickbooks_modal_dialog"
          },
          "likelihood": {
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low"
            ],
            "description": "How strongly the observations point at this cause.",
            "x-daapi-open-enum": true
          },
          "summary": {
            "type": "string",
            "description": "One-line description of the cause."
          },
          "explanation": {
            "type": "string",
            "description": "What the server observed and why it points at this cause."
          },
          "fixes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ErrorFix"
            },
            "description": "Actions that resolve the cause, each with the responsible actor."
          },
          "details": {
            "type": "object",
            "additionalProperties": {},
            "description": "Cause-specific observations, for example `connectionErrorCode` or `silentForMs`."
          },
          "docsUrl": {
            "type": "string",
            "format": "uri",
            "description": "Troubleshooting section for this cause."
          }
        },
        "required": [
          "code",
          "likelihood",
          "summary",
          "explanation",
          "fixes",
          "details",
          "docsUrl"
        ]
      },
      "PassthroughInput": {
        "type": "object",
        "additionalProperties": {},
        "description": "qbXML request elements as JSON, keyed by element name (names end in `Rq`). Attributes are `@name`, element text next to attributes is `#text`, and repeated elements are arrays. Elements are sent in the order given.",
        "example": {
          "CustomerQueryRq": {
            "MaxReturned": 5
          }
        }
      },
      "HealthCheck": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "enum": [
              "ok"
            ],
            "description": "Always `ok` on success."
          },
          "duration": {
            "type": "integer",
            "description": "Round-trip time in milliseconds, from receiving this call to QuickBooks' answer.",
            "example": 812
          },
          "quickbooks": {
            "type": "object",
            "properties": {
              "product": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "QuickBooks product and version.",
                "example": "QuickBooks Enterprise Solutions: General Business 24.0"
              },
              "qbxmlVersion": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "qbXML version used for this company file.",
                "example": "16.0"
              },
              "companyName": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Company name reported by QuickBooks.",
                "example": "Acme Supply Co"
              }
            },
            "required": [
              "product",
              "qbxmlVersion",
              "companyName"
            ],
            "description": "What QuickBooks reported in this round trip."
          }
        },
        "required": [
          "status",
          "duration",
          "quickbooks"
        ]
      },
      "RequestList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/requests"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RequestSummary"
            },
            "description": "Objects on this page, newest first."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `cursor` to fetch the next page; `null` on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether another page exists."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always `null` for platform lists."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always `null`: platform cursors do not expire."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "RequestSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^req_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the request.",
            "example": "req_01j9x4m6v4c8k2t7q0r5s3w1zd"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "request"
            ],
            "description": "Always `request`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the request was received. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "projectId": {
            "type": "string",
            "pattern": "^proj_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the project.",
            "example": "proj_01j9x4m6v4c8k2t7q0r5s3w1zf"
          },
          "endUserId": {
            "type": "string",
            "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the end user.",
            "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
          },
          "connectionId": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^conn_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "The connection that carried the request; null when the call was rejected before the end user had a connection (no setup link created yet).",
            "example": "conn_01j9x4m6v4c8k2t7q0r5s3w1zc"
          },
          "operationId": {
            "type": "string",
            "description": "The API operation, for example `endUsers.passthrough` or `qbd.healthCheck`.",
            "example": "qbd.healthCheck"
          },
          "method": {
            "type": "string",
            "description": "HTTP method of the original call.",
            "example": "GET"
          },
          "path": {
            "type": "string",
            "description": "Path of the original call.",
            "example": "/v1/quickbooks-desktop/health-check"
          },
          "mode": {
            "type": "string",
            "enum": [
              "sync",
              "async"
            ],
            "description": "`sync` when the caller waited for the result.",
            "x-daapi-open-enum": true
          },
          "status": {
            "type": "string",
            "enum": [
              "queued",
              "waiting_for_connection",
              "sent",
              "succeeded",
              "failed",
              "canceled",
              "outcome_unknown"
            ],
            "description": "`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. `succeeded` and `failed` are final. `canceled`: canceled before it was sent. `outcome_unknown`: a write was sent and its result could not be confirmed.",
            "x-daapi-open-enum": true
          },
          "outcome": {
            "type": "string",
            "enum": [
              "applied",
              "not_applied",
              "pending",
              "unknown",
              "not_applicable"
            ],
            "description": "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).",
            "x-daapi-open-enum": true
          },
          "sentAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the request was handed to the Web Connector. UTC, ISO 8601."
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the request reached a final status. UTC, ISO 8601."
          },
          "durationMs": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Milliseconds from creation to completion."
          },
          "errorCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Error code when the request failed, was canceled or has an unknown outcome.",
            "example": "REQUEST_TIMEOUT_NOT_SENT"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "projectId",
          "endUserId",
          "connectionId",
          "operationId",
          "method",
          "path",
          "mode",
          "status",
          "outcome",
          "sentAt",
          "completedAt",
          "durationMs",
          "errorCode"
        ]
      },
      "WebhookEndpointWithSecret": {
        "allOf": [
          {
            "$ref": "#/components/schemas/WebhookEndpoint"
          },
          {
            "type": "object",
            "properties": {
              "secret": {
                "type": "string",
                "description": "Signing secret (`whsec_...`, Standard Webhooks format). Shown only when the endpoint is created and when the secret is rotated; store it securely.",
                "example": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"
              }
            },
            "required": [
              "secret"
            ]
          }
        ]
      },
      "WebhookEndpoint": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the webhook endpoint.",
            "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "webhook_endpoint"
            ],
            "description": "Always `webhook_endpoint`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the endpoint was created. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "projectId": {
            "type": "string",
            "pattern": "^proj_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the project.",
            "example": "proj_01j9x4m6v4c8k2t7q0r5s3w1zf"
          },
          "url": {
            "type": "string",
            "description": "Where events are delivered."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Your note about the endpoint."
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "request.succeeded",
                "request.failed",
                "request.canceled",
                "request.outcome_unknown",
                "request.outcome_resolved",
                "connection.setup_completed",
                "connection.status_changed"
              ],
              "description": "`request.succeeded`, `request.failed`, `request.canceled`: a request reached that status. `request.outcome_unknown`: a write was sent without a confirmed result. `request.outcome_resolved`: such a write was resolved. `connection.setup_completed`: an end user finished setup and the first check passed. `connection.status_changed`: the derived connection status changed (offline is announced after it holds for 30 seconds).",
              "x-daapi-open-enum": true,
              "example": "request.succeeded"
            },
            "description": "Subscribed event types."
          },
          "enabled": {
            "type": "boolean",
            "description": "Whether events are delivered."
          },
          "disabledReason": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the endpoint was disabled automatically (5 days of failed deliveries), or `null`."
          },
          "includeSyncRequests": {
            "type": "boolean",
            "description": "Whether request events of synchronous calls whose caller received the result are delivered."
          },
          "secretRotatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the signing secret was last rotated. UTC, ISO 8601."
          },
          "previousSecretExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Until when deliveries also carry a signature made with the previous secret. UTC, ISO 8601."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "projectId",
          "url",
          "description",
          "eventTypes",
          "enabled",
          "disabledReason",
          "includeSyncRequests",
          "secretRotatedAt",
          "previousSecretExpiresAt"
        ]
      },
      "WebhookEndpointCreateInput": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri",
            "description": "HTTPS URL on a public DNS name and the default port. IP addresses, internal names and redirects are not allowed.",
            "example": "https://example.com/webhooks/desktop-accounting"
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "request.succeeded",
                "request.failed",
                "request.canceled",
                "request.outcome_unknown",
                "request.outcome_resolved",
                "connection.setup_completed",
                "connection.status_changed"
              ],
              "description": "`request.succeeded`, `request.failed`, `request.canceled`: a request reached that status. `request.outcome_unknown`: a write was sent without a confirmed result. `request.outcome_resolved`: such a write was resolved. `connection.setup_completed`: an end user finished setup and the first check passed. `connection.status_changed`: the derived connection status changed (offline is announced after it holds for 30 seconds).",
              "x-daapi-open-enum": true,
              "example": "request.succeeded"
            },
            "minItems": 1,
            "maxItems": 7,
            "description": "Event types to deliver. At least one."
          },
          "description": {
            "type": "string",
            "maxLength": 500,
            "description": "Your note about the endpoint, up to 500 characters.",
            "example": "Production sync worker"
          },
          "enabled": {
            "type": "boolean",
            "default": true,
            "description": "Deliver events. Default `true`."
          },
          "includeSyncRequests": {
            "type": "boolean",
            "default": false,
            "description": "Also deliver request events for synchronous calls whose caller already received the result. Default `false`: synchronous requests produce events only when the caller did not get the final result (timeout after sending, disconnect) or the outcome is unknown."
          }
        },
        "required": [
          "url",
          "eventTypes"
        ],
        "additionalProperties": false
      },
      "WebhookEndpointList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/webhook-endpoints"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookEndpoint"
            },
            "description": "Objects on this page, newest first."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `cursor` to fetch the next page; `null` on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether another page exists."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always `null` for platform lists."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always `null`: platform cursors do not expire."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "WebhookEndpointUpdateInput": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "maxLength": 2048,
            "format": "uri",
            "description": "HTTPS URL on a public DNS name and the default port. IP addresses, internal names and redirects are not allowed.",
            "example": "https://example.com/webhooks/desktop-accounting"
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "request.succeeded",
                "request.failed",
                "request.canceled",
                "request.outcome_unknown",
                "request.outcome_resolved",
                "connection.setup_completed",
                "connection.status_changed"
              ],
              "description": "`request.succeeded`, `request.failed`, `request.canceled`: a request reached that status. `request.outcome_unknown`: a write was sent without a confirmed result. `request.outcome_resolved`: such a write was resolved. `connection.setup_completed`: an end user finished setup and the first check passed. `connection.status_changed`: the derived connection status changed (offline is announced after it holds for 30 seconds).",
              "x-daapi-open-enum": true,
              "example": "request.succeeded"
            },
            "minItems": 1,
            "maxItems": 7,
            "description": "Event types to deliver. At least one."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 500,
            "description": "Your note about the endpoint, up to 500 characters.",
            "example": "Production sync worker"
          },
          "enabled": {
            "type": "boolean",
            "description": "Turn delivery on or off. Enabling clears `disabledReason`."
          },
          "includeSyncRequests": {
            "type": "boolean",
            "description": "Also deliver request events for synchronous calls whose caller already received the result. Default `false`: synchronous requests produce events only when the caller did not get the final result (timeout after sending, disconnect) or the outcome is unknown."
          }
        },
        "additionalProperties": false
      },
      "WebhookEndpointDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the webhook endpoint.",
            "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "webhook_endpoint"
            ],
            "description": "Always `webhook_endpoint`."
          },
          "deleted": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Always `true`."
          }
        },
        "required": [
          "id",
          "objectType",
          "deleted"
        ]
      },
      "WebhookDelivery": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^whd_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the delivery of one event to one endpoint.",
            "example": "whd_01j9x4m6v4c8k2t7q0r5s3w1zj"
          },
          "objectType": {
            "type": "string",
            "enum": [
              "webhook_delivery"
            ],
            "description": "Always `webhook_delivery`."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When the delivery was created. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "endpointId": {
            "type": "string",
            "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the webhook endpoint.",
            "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
          },
          "eventId": {
            "type": "string",
            "pattern": "^evt_[0-9a-hjkmnp-tv-z]{26}$",
            "description": "Unique identifier for the event. Also sent as the `webhook-id` header; deduplicate on it.",
            "example": "evt_01j9x4m6v4c8k2t7q0r5s3w1zh"
          },
          "eventType": {
            "type": "string",
            "description": "The event type (including `webhook.test`).",
            "example": "request.succeeded"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "succeeded",
              "failed"
            ],
            "description": "`pending` while attempts remain, `succeeded` after a 2xx, `failed` after the last scheduled attempt (dead-lettered).",
            "x-daapi-open-enum": true
          },
          "attemptCount": {
            "type": "integer",
            "description": "Attempts made so far (at most 8)."
          },
          "nextAttemptAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the next attempt is scheduled. UTC, ISO 8601."
          },
          "completedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the delivery succeeded or failed for good. UTC, ISO 8601."
          },
          "attempts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookDeliveryAttempt"
            },
            "description": "Every attempt, oldest first."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "endpointId",
          "eventId",
          "eventType",
          "status",
          "attemptCount",
          "nextAttemptAt",
          "completedAt",
          "attempts"
        ]
      },
      "WebhookDeliveryAttempt": {
        "type": "object",
        "properties": {
          "attempt": {
            "type": "integer",
            "description": "Attempt number, starting at 1."
          },
          "at": {
            "type": "string",
            "format": "date-time",
            "description": "When the attempt started. UTC, ISO 8601 with milliseconds.",
            "example": "2026-10-05T16:03:59.002Z"
          },
          "statusCode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "HTTP status your endpoint returned; `null` when no response arrived."
          },
          "latencyMs": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Milliseconds until the response."
          },
          "responseExcerpt": {
            "type": [
              "string",
              "null"
            ],
            "description": "First 512 characters of the response body."
          },
          "error": {
            "type": [
              "string",
              "null"
            ],
            "description": "Why the attempt failed: `non_2xx_status`, `timeout`, `redirect_not_followed`, `network_error: ...` or `blocked_destination: ...`."
          }
        },
        "required": [
          "attempt",
          "at",
          "statusCode",
          "latencyMs",
          "responseExcerpt",
          "error"
        ]
      },
      "WebhookDeliveryList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/webhook-endpoints/{id}/deliveries"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WebhookDelivery"
            },
            "description": "Objects on this page, newest first."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pass as `cursor` to fetch the next page; `null` on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether another page exists."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always `null` for platform lists."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always `null`: platform cursors do not expire."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdAccountTaxLineList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/account-tax-lines"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdAccountTaxLine"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdAccountTaxLine": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_account_tax_line"
            ],
            "description": "Type of this object."
          },
          "taxLineId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Tax line of this account tax line."
          },
          "taxLineName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax line name of this account tax line."
          }
        },
        "required": [
          "objectType",
          "taxLineId",
          "taxLineName"
        ],
        "description": "Account tax line as stored in QuickBooks Desktop."
      },
      "QbdAccountList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/accounts"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdAccount"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdAccount": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this account."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_account"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this account was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this account was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this account. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this account, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this account: parent names and its own name separated by colons."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this account is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "accountType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account type of this account.",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "cost_of_goods_sold",
              "credit_card",
              "equity",
              "expense",
              "fixed_asset",
              "income",
              "long_term_liability",
              "non_posting",
              "other_asset",
              "other_current_asset",
              "other_current_liability",
              "other_expense",
              "other_income"
            ],
            "x-daapi-open-enum": true
          },
          "specialAccountType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Special account type of this account.",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "condense_item_adjustment_expenses",
              "cost_of_goods_sold",
              "direct_deposit_liabilities",
              "estimates",
              "exchange_gain_loss",
              "inventory_assets",
              "item_receipt_account",
              "opening_balance_equity",
              "payroll_expenses",
              "payroll_liabilities",
              "petty_cash",
              "purchase_orders",
              "reconciliation_differences",
              "retained_earnings",
              "sales_orders",
              "sales_tax_payable",
              "uncategorized_expenses",
              "uncategorized_income",
              "undeposited_funds"
            ],
            "x-daapi-open-enum": true
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account number for this account."
          },
          "bankAccountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Bank account number of this account."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this account."
          },
          "balance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open balance of this account alone, as a decimal string.",
            "example": "1250.00"
          },
          "totalBalance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open balance including all child jobs, as a decimal string.",
            "example": "1250.00"
          },
          "taxLineDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdTaxLineDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Tax line details details for this account."
          },
          "cashFlowClassification": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cash flow classification of this account.",
            "enum": [
              "none",
              "operating",
              "investing",
              "financing",
              "not_applicable"
            ],
            "x-daapi-open-enum": true
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this account."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this account."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "isActive",
          "parent",
          "sublevel",
          "accountType",
          "specialAccountType",
          "accountNumber",
          "bankAccountNumber",
          "description",
          "balance",
          "totalBalance",
          "taxLineDetails",
          "cashFlowClassification",
          "currency",
          "customFields"
        ],
        "description": "Account as stored in QuickBooks Desktop."
      },
      "QbdReference": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks ID of the referenced object."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full name of the referenced object at the time of the response."
          }
        },
        "required": [
          "id",
          "fullName"
        ],
        "description": "Reference to another QuickBooks object."
      },
      "QbdTaxLineDetail": {
        "type": "object",
        "properties": {
          "taxLineId": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Tax line of this tax line info."
          },
          "taxLineName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax line name of this tax line info."
          }
        },
        "required": [
          "taxLineId",
          "taxLineName"
        ],
        "description": "Tax line info as stored in QuickBooks Desktop."
      },
      "QbdCustomField": {
        "type": "object",
        "properties": {
          "ownerId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Owner of the custom field: \"0\" for public fields shown in the QuickBooks UI."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this custom field, unique within its parent level."
          },
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Type.",
            "enum": [
              "amount_type",
              "date_time_type",
              "integer_type",
              "percent_type",
              "price_type",
              "quantity_type",
              "string_1024_type",
              "string_255_type"
            ],
            "x-daapi-open-enum": true
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Value."
          }
        },
        "required": [
          "ownerId",
          "name",
          "type",
          "value"
        ],
        "description": "Custom field as stored in QuickBooks Desktop."
      },
      "QbdActiveStatus": {
        "type": "string",
        "enum": [
          "active",
          "inactive",
          "all"
        ],
        "default": "active",
        "description": "Filter accounts by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
      },
      "QbdAccountAccountType": {
        "type": "string",
        "enum": [
          "accounts_payable",
          "accounts_receivable",
          "bank",
          "cost_of_goods_sold",
          "credit_card",
          "equity",
          "expense",
          "fixed_asset",
          "income",
          "long_term_liability",
          "non_posting",
          "other_asset",
          "other_current_asset",
          "other_current_liability",
          "other_expense",
          "other_income"
        ],
        "description": "Filter by account type. Cannot be combined with ids, fullNames."
      },
      "QbdAccountCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this account, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this account is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this account a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "accountType": {
            "type": "string",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "cost_of_goods_sold",
              "credit_card",
              "equity",
              "expense",
              "fixed_asset",
              "income",
              "long_term_liability",
              "non_posting",
              "other_asset",
              "other_current_asset",
              "other_current_liability",
              "other_expense",
              "other_income"
            ],
            "description": "Account type of this account."
          },
          "accountNumber": {
            "type": "string",
            "maxLength": 7,
            "description": "Account number for this account."
          },
          "bankAccountNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Bank account number of this account."
          },
          "description": {
            "type": "string",
            "maxLength": 200,
            "description": "Description of this account."
          },
          "openingBalance": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Opening balance when this account was created, as a decimal string.",
            "example": "1250.00"
          },
          "openingBalanceDate": {
            "type": "string",
            "format": "date",
            "description": "Date of the opening balance (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "taxLineId": {
            "type": "integer",
            "description": "Tax line of this account."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this account.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name",
          "accountType"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an account."
      },
      "QbdAccountUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this account. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this account, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this account is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this account a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "accountType": {
            "type": "string",
            "enum": [
              "accounts_payable",
              "accounts_receivable",
              "bank",
              "cost_of_goods_sold",
              "credit_card",
              "equity",
              "expense",
              "fixed_asset",
              "income",
              "long_term_liability",
              "non_posting",
              "other_asset",
              "other_current_asset",
              "other_current_liability",
              "other_expense",
              "other_income"
            ],
            "description": "Account type of this account."
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 7,
            "description": "Account number for this account.",
            "x-daapi-clearable": true
          },
          "bankAccountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Bank account number of this account.",
            "x-daapi-clearable": true
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 200,
            "description": "Description of this account.",
            "x-daapi-clearable": true
          },
          "openingBalance": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Opening balance when this account was created, as a decimal string.",
            "example": "1250.00"
          },
          "openingBalanceDate": {
            "type": "string",
            "format": "date",
            "description": "Date of the opening balance (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "taxLineId": {
            "type": "integer",
            "description": "Tax line of this account."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this account.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an account."
      },
      "QbdBillCheckPaymentList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/bill-check-payments"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdBillCheckPayment"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdBillCheckPayment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this bill check payment."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_check_payment"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill check payment was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill check payment was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this bill check payment. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this bill check payment."
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this bill check payment."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this bill check payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The bank account for this bill check payment."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this bill check payment."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this bill check payment's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this bill check payment. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this bill check payment, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this bill check payment; shown in reports, not on printed forms."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this bill check payment."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this bill check payment is in the queue of forms to print."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this bill check payment, stored by QuickBooks so you can match records with your system."
          },
          "appliedToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdAppliedToTransaction"
            },
            "description": "Applied to transactions entries for this bill check payment."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this bill check payment."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "payablesAccount",
          "transactionDate",
          "bankAccount",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "refNumber",
          "memo",
          "address",
          "isQueuedForPrint",
          "externalId",
          "appliedToTransactions",
          "customFields"
        ],
        "description": "Bill check payment as stored in QuickBooks Desktop."
      },
      "QbdAddress": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line."
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "description": "Third address line."
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fourth address line."
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fifth address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or locality."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State, province or region."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this address."
          }
        },
        "required": [
          "line1",
          "line2",
          "line3",
          "line4",
          "line5",
          "city",
          "state",
          "postalCode",
          "country",
          "note"
        ],
        "description": "Address as stored in QuickBooks Desktop."
      },
      "QbdAppliedToTransaction": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the transaction."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this applied to transaction.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this applied to transaction (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this applied to transaction, such as an invoice or check number. Case-sensitive."
          },
          "balanceRemaining": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount still owed on this applied to transaction, as a decimal string.",
            "example": "1250.00"
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "discountAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Discount amount of this applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "discountAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The discount account for this applied to transaction."
          },
          "discountClass": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The discount class for this applied to transaction."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this applied to transaction, such as payments applied to it."
          }
        },
        "required": [
          "transactionId",
          "transactionType",
          "transactionDate",
          "refNumber",
          "balanceRemaining",
          "amount",
          "discountAmount",
          "discountAccount",
          "discountClass",
          "linkedTransactions"
        ],
        "description": "Applied to transaction as stored in QuickBooks Desktop."
      },
      "QbdLinkedTransaction": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this linked transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_linked_transaction"
            ],
            "description": "Type of this object."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this linked transaction.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this linked transaction (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this linked transaction, such as an invoice or check number. Case-sensitive."
          },
          "linkType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Link type of this linked transaction.",
            "enum": [
              "amount",
              "quantity"
            ],
            "x-daapi-open-enum": true
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "id",
          "objectType",
          "transactionType",
          "transactionDate",
          "refNumber",
          "linkType",
          "amount"
        ],
        "description": "Linked transaction as stored in QuickBooks Desktop."
      },
      "QbdDateMacro": {
        "type": "string",
        "enum": [
          "all",
          "today",
          "this_week",
          "this_week_to_date",
          "this_month",
          "this_month_to_date",
          "this_calendar_quarter",
          "this_calendar_quarter_to_date",
          "this_fiscal_quarter",
          "this_fiscal_quarter_to_date",
          "this_calendar_year",
          "this_calendar_year_to_date",
          "this_fiscal_year",
          "this_fiscal_year_to_date",
          "yesterday",
          "last_week",
          "last_week_to_date",
          "last_month",
          "last_month_to_date",
          "last_calendar_quarter",
          "last_calendar_quarter_to_date",
          "last_fiscal_quarter",
          "last_fiscal_quarter_to_date",
          "last_calendar_year",
          "last_calendar_year_to_date",
          "last_fiscal_year",
          "last_fiscal_year_to_date",
          "next_week",
          "next_four_weeks",
          "next_month",
          "next_calendar_quarter",
          "next_calendar_year",
          "next_fiscal_quarter",
          "next_fiscal_year"
        ],
        "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo."
      },
      "QbdBillCheckPaymentCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this bill check payment.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this bill check payment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this bill check payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this bill check payment.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this bill check payment is in the queue of forms to print. Cannot be combined with refNumber."
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this bill check payment, such as an invoice or check number. Case-sensitive. Cannot be combined with isQueuedForPrint."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this bill check payment; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this bill check payment's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this bill check payment, stored by QuickBooks so you can match records with your system."
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyToTransactionInput"
            },
            "description": "Apply to transactions entries for this bill check payment."
          }
        },
        "required": [
          "vendorId",
          "bankAccountId",
          "applyToTransactions"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a bill check payment. Requires at least one of: isQueuedForPrint or refNumber."
      },
      "QbdApplyToTransactionInput": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the transaction.",
            "example": "80000001-1234567890"
          },
          "paymentAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Payment amount of this applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "applyCredits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyCreditInput"
            },
            "description": "Apply credits entries for this applied to transaction."
          },
          "discountAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Discount amount of this applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "discountAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the discount account for this applied to transaction.",
            "example": "80000001-1234567890"
          },
          "discountClassId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the discount class for this applied to transaction.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "transactionId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an applied to transaction."
      },
      "QbdApplyCreditInput": {
        "type": "object",
        "properties": {
          "creditTransactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the credit transaction.",
            "example": "80000001-1234567890"
          },
          "appliedAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount applied as a decimal string.",
            "example": "1250.00"
          },
          "overrideCreditApplication": {
            "type": "boolean",
            "description": "Override credit application of this set credit."
          }
        },
        "required": [
          "creditTransactionId",
          "appliedAmount"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a set credit."
      },
      "QbdBillCheckPaymentUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this bill check payment. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this bill check payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this bill check payment.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this bill check payment's currency to the home currency."
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this bill check payment is in the queue of forms to print. Cannot be combined with refNumber."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this bill check payment, such as an invoice or check number. Case-sensitive. Cannot be combined with isQueuedForPrint.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this bill check payment; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyToTransactionInput"
            },
            "description": "Apply to transactions entries for this bill check payment."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a bill check payment."
      },
      "QbdBillCheckPaymentDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_check_payment"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdBillCheckPaymentVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_check_payment"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdBillCreditCardPaymentList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/bill-credit-card-payments"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdBillCreditCardPayment"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdBillCreditCardPayment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this bill credit card payment."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_credit_card_payment"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill credit card payment was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill credit card payment was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this bill credit card payment. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this bill credit card payment."
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this bill credit card payment."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this bill credit card payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "creditCardAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The credit card account for this bill credit card payment."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this bill credit card payment."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this bill credit card payment's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this bill credit card payment. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this bill credit card payment, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this bill credit card payment; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this bill credit card payment, stored by QuickBooks so you can match records with your system."
          },
          "appliedToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdAppliedToTransaction"
            },
            "description": "Applied to transactions entries for this bill credit card payment."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this bill credit card payment."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "payablesAccount",
          "transactionDate",
          "creditCardAccount",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "refNumber",
          "memo",
          "externalId",
          "appliedToTransactions",
          "customFields"
        ],
        "description": "Bill credit card payment as stored in QuickBooks Desktop."
      },
      "QbdBillCreditCardPaymentCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this bill credit card payment.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this bill credit card payment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this bill credit card payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "creditCardAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the credit card account for this bill credit card payment.",
            "example": "80000001-1234567890"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this bill credit card payment, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this bill credit card payment; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this bill credit card payment's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this bill credit card payment, stored by QuickBooks so you can match records with your system."
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyToTransactionInput"
            },
            "description": "Apply to transactions entries for this bill credit card payment."
          }
        },
        "required": [
          "vendorId",
          "creditCardAccountId",
          "applyToTransactions"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a bill credit card payment."
      },
      "QbdBillCreditCardPaymentDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_credit_card_payment"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdBillCreditCardPaymentVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill_credit_card_payment"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdBillList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/bills"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdBill"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdBill": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this bill."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this bill was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this bill. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this bill."
          },
          "vendorAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Vendor address details for this bill."
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this bill."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this bill (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this bill is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "amountDue": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount due of this bill. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this bill."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this bill's currency to the home currency."
          },
          "amountDueInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount due in home currency of this bill. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this bill, such as an invoice or check number. Case-sensitive."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this bill is pending (not yet final) and does not post to accounts.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this bill."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this bill; shown in reports, not on printed forms."
          },
          "isPaid": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this bill is fully paid."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this bill, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this bill, such as payments applied to it."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this bill."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this bill."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this bill."
          },
          "openAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open amount of this bill. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this bill."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "vendorAddress",
          "payablesAccount",
          "transactionDate",
          "dueDate",
          "amountDue",
          "currency",
          "exchangeRate",
          "amountDueInHomeCurrency",
          "refNumber",
          "isPending",
          "terms",
          "memo",
          "isPaid",
          "externalId",
          "linkedTransactions",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "openAmount",
          "customFields"
        ],
        "description": "Bill as stored in QuickBooks Desktop."
      },
      "QbdExpenseLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this expense line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_expense_line"
            ],
            "description": "Type of this object."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this expense line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this expense line; shown in reports, not on printed forms."
          },
          "payee": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payee for this expense line."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this expense line."
          },
          "billingStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Whether this line can be billed to a customer.",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "x-daapi-open-enum": true
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this expense line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this expense line."
          }
        },
        "required": [
          "id",
          "objectType",
          "account",
          "amount",
          "memo",
          "payee",
          "class",
          "billingStatus",
          "salesRepresentative",
          "customFields"
        ],
        "description": "Expense line as stored in QuickBooks Desktop."
      },
      "QbdItemLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this item line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this item line."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this item line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this item line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this item line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this item line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this item line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this item line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "cost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cost of this item line. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this item line."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this item line."
          },
          "billingStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Whether this line can be billed to a customer.",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "x-daapi-open-enum": true
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this item line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this item line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "cost",
          "amount",
          "customer",
          "class",
          "billingStatus",
          "salesRepresentative",
          "customFields"
        ],
        "description": "Item line as stored in QuickBooks Desktop."
      },
      "QbdItemGroupLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this item group line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_group_line"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this item group line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this item group line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this item group line as a decimal string.",
            "example": "1250.00"
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this item group line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this item group line."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "totalAmount",
          "itemLines",
          "customFields"
        ],
        "description": "Item group line as stored in QuickBooks Desktop."
      },
      "QbdPaymentStatus": {
        "type": "string",
        "enum": [
          "all",
          "paid",
          "not_paid"
        ],
        "default": "all",
        "description": "Filter bills by payment state. Cannot be combined with ids, refNumbers."
      },
      "QbdBillCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this bill.",
            "example": "80000001-1234567890"
          },
          "vendorAddress": {
            "$ref": "#/components/schemas/QbdAddressCreateInput"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this bill.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this bill (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this bill is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 20,
            "description": "Reference number of this bill, such as an invoice or check number. Case-sensitive."
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this bill.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this bill; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this bill's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this bill, stored by QuickBooks so you can match records with your system."
          },
          "linkToTransactionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "IDs of existing transactions to link to this bill, such as an estimate or purchase order it fulfills.",
              "example": "80000001-1234567890"
            },
            "description": "IDs of existing transactions to link to this bill, such as an estimate or purchase order it fulfills."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this bill."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this bill."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this bill."
          }
        },
        "required": [
          "vendorId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a bill."
      },
      "QbdAddressCreateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "maxLength": 41,
            "description": "First address line."
          },
          "line2": {
            "type": "string",
            "maxLength": 41,
            "description": "Second address line."
          },
          "line3": {
            "type": "string",
            "maxLength": 41,
            "description": "Third address line."
          },
          "line4": {
            "type": "string",
            "maxLength": 41,
            "description": "Fourth address line."
          },
          "line5": {
            "type": "string",
            "maxLength": 41,
            "description": "Fifth address line."
          },
          "city": {
            "type": "string",
            "maxLength": 31,
            "description": "City or locality."
          },
          "state": {
            "type": "string",
            "maxLength": 21,
            "description": "State, province or region."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 13,
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": "string",
            "maxLength": 31,
            "description": "Country."
          },
          "note": {
            "type": "string",
            "maxLength": 41,
            "description": "Note for this vendor address."
          }
        },
        "additionalProperties": false,
        "description": "Vendor address details for this bill."
      },
      "QbdExpenseLineCreateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this expense line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this expense line; shown in reports, not on printed forms."
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this expense line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this expense line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this expense line.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this expense line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an expense line."
      },
      "QbdCustomFieldCreateInput": {
        "type": "object",
        "properties": {
          "ownerId": {
            "type": "string",
            "description": "Owner of the custom field: \"0\" for public fields shown in the QuickBooks UI."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this custom field, unique within its parent level."
          },
          "value": {
            "type": "string",
            "description": "Value."
          }
        },
        "required": [
          "ownerId",
          "name",
          "value"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a custom field."
      },
      "QbdItemLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this item line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this item line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this item line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this item line. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this item line. Cannot be combined with serialNumber."
          },
          "expirationDate": {
            "type": "string",
            "maxLength": 1099,
            "description": "Expiration date of this item line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this item line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "cost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Cost of this item line. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this item line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this item line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this item line.",
            "example": "80000001-1234567890"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this item line.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this item line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an item line."
      },
      "QbdItemGroupLineCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this item group line.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this item group line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this item group line.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this item group line."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an item group line."
      },
      "QbdBillUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this bill. Send it unchanged when updating; a stale value is rejected."
          },
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this bill.",
            "example": "80000001-1234567890"
          },
          "vendorAddress": {
            "$ref": "#/components/schemas/QbdAddressUpdateInput"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this bill.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this bill (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this bill is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 20,
            "description": "Reference number of this bill, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this bill.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this bill; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this bill's currency to the home currency."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this bill. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this bill. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the bill first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the bill keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this bill. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this bill. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the bill first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the bill keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this bill. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the bill first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the bill keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a bill."
      },
      "QbdAddressUpdateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "First address line.",
            "x-daapi-clearable": true
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Second address line.",
            "x-daapi-clearable": true
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Third address line.",
            "x-daapi-clearable": true
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fourth address line.",
            "x-daapi-clearable": true
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fifth address line.",
            "x-daapi-clearable": true
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "City or locality.",
            "x-daapi-clearable": true
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "State, province or region.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Country.",
            "x-daapi-clearable": true
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Note for this vendor address.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Vendor address details for this bill."
      },
      "QbdExpenseLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this expense line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this expense line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this expense line; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this expense line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this expense line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this expense line.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an expense line."
      },
      "QbdItemLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this item line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this item line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this item line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this item line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this item line. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this item line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1099,
            "description": "Expiration date of this item line.",
            "x-daapi-min-qbxml-version": "16.0",
            "x-daapi-clearable": true
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this item line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this item line.",
            "example": "80000001-1234567890"
          },
          "cost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Cost of this item line. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this item line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this item line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this item line.",
            "example": "80000001-1234567890"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this item line.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an item line."
      },
      "QbdItemGroupLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this item group line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this item group line.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this item group line.",
            "example": "80000001-1234567890"
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this item group line. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an item group line."
      },
      "QbdBillDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdBillVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bill"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdBillsToPayList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/bills-to-pay"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdBillsToPay"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdBillsToPay": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_bills_to_pay"
            ],
            "description": "Type of this object."
          },
          "bill": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdBillToPay"
              },
              {
                "type": "null"
              }
            ],
            "description": "Bill details for this bill to pay."
          },
          "credit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCredit"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit details."
          }
        },
        "required": [
          "objectType",
          "bill",
          "credit"
        ],
        "description": "Bill to pay as stored in QuickBooks Desktop."
      },
      "QbdBillToPay": {
        "type": "object",
        "properties": {
          "billId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the bill."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this bill to pay.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this bill to pay."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this bill to pay (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this bill to pay, such as an invoice or check number. Case-sensitive."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this bill to pay is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "amountDue": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount due of this bill to pay. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this bill to pay."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this bill to pay's currency to the home currency."
          },
          "amountDueInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount due in home currency of this bill to pay. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "billId",
          "transactionType",
          "payablesAccount",
          "transactionDate",
          "refNumber",
          "dueDate",
          "amountDue",
          "currency",
          "exchangeRate",
          "amountDueInHomeCurrency"
        ],
        "description": "Bill to pay as stored in QuickBooks Desktop."
      },
      "QbdCredit": {
        "type": "object",
        "properties": {
          "creditTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the credit transaction."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this credit to apply.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this credit to apply."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this credit to apply (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this credit to apply, such as an invoice or check number. Case-sensitive."
          },
          "creditRemaining": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining of this credit to apply. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this credit to apply."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this credit to apply's currency to the home currency."
          },
          "creditRemainingInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining in home currency of this credit to apply. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "creditTransactionId",
          "transactionType",
          "payablesAccount",
          "transactionDate",
          "refNumber",
          "creditRemaining",
          "currency",
          "exchangeRate",
          "creditRemainingInHomeCurrency"
        ],
        "description": "Credit to apply as stored in QuickBooks Desktop."
      },
      "QbdBuildAssemblyList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/build-assemblies"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdBuildAssembly"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdBuildAssembly": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this build assembly."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_build_assembly"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this build assembly was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this build assembly was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this build assembly. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "inventoryAssemblyItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory assembly item for this build assembly."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this build assembly."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this build assembly."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this build assembly."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this build assembly."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this build assembly.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this build assembly (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this build assembly, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this build assembly; shown in reports, not on printed forms."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this build assembly is pending (not yet final) and does not post to accounts."
          },
          "quantityToBuild": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity to build of this build assembly."
          },
          "quantityCanBuild": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity can build of this build assembly."
          },
          "quantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on hand of this build assembly."
          },
          "quantityOnSalesOrder": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on sales order of this build assembly."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this build assembly, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLine"
            },
            "description": "Line items of this build assembly."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this build assembly."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "inventoryAssemblyItem",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "transactionDate",
          "refNumber",
          "memo",
          "isPending",
          "quantityToBuild",
          "quantityCanBuild",
          "quantityOnHand",
          "quantityOnSalesOrder",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Build assembly as stored in QuickBooks Desktop."
      },
      "QbdLine": {
        "type": "object",
        "properties": {
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this component item line."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this component item line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this component item line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this component item line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this component item line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this component item line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this component item line."
          },
          "quantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on hand of this component item line."
          },
          "quantityNeeded": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity needed of this component item line."
          }
        },
        "required": [
          "item",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "description",
          "quantityOnHand",
          "quantityNeeded"
        ],
        "description": "Component item line as stored in QuickBooks Desktop."
      },
      "QbdPendingStatus": {
        "type": "string",
        "enum": [
          "all",
          "pending",
          "not_pending"
        ],
        "default": "all",
        "description": "Filter by pending status. Cannot be combined with ids, refNumbers."
      },
      "QbdBuildAssemblyCreateInput": {
        "type": "object",
        "properties": {
          "inventoryAssemblyItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory assembly item for this build assembly.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this build assembly.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this build assembly.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this build assembly. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this build assembly. Cannot be combined with serialNumber."
          },
          "expirationDate": {
            "type": "string",
            "maxLength": 1099,
            "description": "Expiration date of this build assembly.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this build assembly (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this build assembly, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this build assembly; shown in reports, not on printed forms."
          },
          "quantityToBuild": {
            "type": "number",
            "description": "Quantity to build of this build assembly."
          },
          "markPendingIfRequired": {
            "type": "boolean",
            "description": "Mark pending if required of this build assembly."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this build assembly, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "inventoryAssemblyItemId",
          "quantityToBuild"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a build assembly."
      },
      "QbdBuildAssemblyUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this build assembly. Send it unchanged when updating; a stale value is rejected."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this build assembly.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this build assembly.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this build assembly. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this build assembly. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1099,
            "description": "Expiration date of this build assembly.",
            "x-daapi-min-qbxml-version": "16.0",
            "x-daapi-clearable": true
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this build assembly (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this build assembly, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this build assembly; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "quantityToBuild": {
            "type": "number",
            "description": "Quantity to build of this build assembly."
          },
          "markPendingIfRequired": {
            "type": "boolean",
            "description": "Mark pending if required of this build assembly."
          },
          "removePending": {
            "type": "boolean",
            "description": "Remove pending of this build assembly."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a build assembly."
      },
      "QbdBuildAssemblyDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_build_assembly"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCheckList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/checks"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCheck"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCheck": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this check."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_check"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this check was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this check was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this check. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "bankAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The bank account for this check."
          },
          "payee": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payee for this check."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this check, such as an invoice or check number. Case-sensitive."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this check."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this check's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this check. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this check; shown in reports, not on printed forms."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this check."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this check is pending (not yet final) and does not post to accounts.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this check is in the queue of forms to print."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this check, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this check, such as payments applied to it."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this check."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this check."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this check."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this check."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "bankAccount",
          "payee",
          "refNumber",
          "transactionDate",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "memo",
          "address",
          "isPending",
          "isQueuedForPrint",
          "externalId",
          "linkedTransactions",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "customFields"
        ],
        "description": "Check as stored in QuickBooks Desktop."
      },
      "QbdCheckCreateInput": {
        "type": "object",
        "properties": {
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this check.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this check.",
            "example": "80000001-1234567890"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this check, such as an invoice or check number. Case-sensitive."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this check; shown in reports, not on printed forms."
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Address details for this check."
              }
            ]
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this check is in the queue of forms to print."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this check's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this check, stored by QuickBooks so you can match records with your system."
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyCheckToTxnInput"
            },
            "description": "Apply to transactions entries for this check."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this check."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this check."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this check."
          }
        },
        "required": [
          "bankAccountId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a check."
      },
      "QbdApplyCheckToTxnInput": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the transaction.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "transactionId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an apply check to transaction."
      },
      "QbdCheckUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this check. Send it unchanged when updating; a stale value is rejected."
          },
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this check.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this check.",
            "example": "80000001-1234567890"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this check, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this check; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Address details for this check."
              }
            ]
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this check is in the queue of forms to print."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this check's currency to the home currency."
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyCheckToTxnInput"
            },
            "description": "Apply to transactions entries for this check."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this check. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this check. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the check first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the check keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this check. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this check. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the check first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the check keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this check. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the check first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the check keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a check."
      },
      "QbdCheckDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_check"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCheckVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_check"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdClassList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/classes"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdClass"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdClass": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this class."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_class"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this class was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this class was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this class. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this class, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this class: parent names and its own name separated by colons."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this class is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "isActive",
          "parent",
          "sublevel"
        ],
        "description": "Class as stored in QuickBooks Desktop."
      },
      "QbdClassCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this class, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this class is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this class a child in the hierarchy.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a class."
      },
      "QbdClassUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this class. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this class, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this class is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this class a child in the hierarchy.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a class."
      },
      "QbdCompany": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_company"
            ],
            "description": "Type of this object."
          },
          "isSampleCompanyFile": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this company is sample company file."
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company name."
          },
          "legalCompanyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Legal company name of this company."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this company."
          },
          "legalAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Legal address details for this company."
          },
          "addressForCustomer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddressForCustomer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address for customer details for this company."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "website": {
            "type": [
              "string",
              "null"
            ],
            "description": "Website of this company."
          },
          "fiscalYearStartMonth": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fiscal year start month of this company.",
            "enum": [
              "january",
              "february",
              "march",
              "april",
              "may",
              "june",
              "july",
              "august",
              "september",
              "october",
              "november",
              "december"
            ],
            "x-daapi-open-enum": true
          },
          "incomeTaxYearStartMonth": {
            "type": [
              "string",
              "null"
            ],
            "description": "Income tax year start month of this company.",
            "enum": [
              "january",
              "february",
              "march",
              "april",
              "may",
              "june",
              "july",
              "august",
              "september",
              "october",
              "november",
              "december"
            ],
            "x-daapi-open-enum": true
          },
          "companyType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company type of this company."
          },
          "ein": {
            "type": [
              "string",
              "null"
            ],
            "description": "Ein of this company."
          },
          "ssn": {
            "type": [
              "string",
              "null"
            ],
            "description": "Ssn of this company."
          },
          "taxForm": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax form of this company.",
            "enum": [
              "form_1040",
              "form_1065",
              "form_1120",
              "form_1120s",
              "form_990",
              "form_990pf",
              "form_990t",
              "other_or_none"
            ],
            "x-daapi-open-enum": true
          },
          "subscribedServices": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSubscribedService"
              },
              {
                "type": "null"
              }
            ],
            "description": "Subscribed services details for this company."
          },
          "accountantCopy": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAccountantCopy"
              },
              {
                "type": "null"
              }
            ],
            "description": "Accountant copy details for this company."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this company."
          }
        },
        "required": [
          "objectType",
          "isSampleCompanyFile",
          "companyName",
          "legalCompanyName",
          "address",
          "legalAddress",
          "addressForCustomer",
          "phone",
          "fax",
          "email",
          "website",
          "fiscalYearStartMonth",
          "incomeTaxYearStartMonth",
          "companyType",
          "ein",
          "ssn",
          "taxForm",
          "subscribedServices",
          "accountantCopy",
          "customFields"
        ],
        "description": "Company as stored in QuickBooks Desktop."
      },
      "QbdAddressForCustomer": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line."
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "description": "Third address line."
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fourth address line."
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fifth address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or locality."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State, province or region."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this company address for customer."
          }
        },
        "required": [
          "line1",
          "line2",
          "line3",
          "line4",
          "line5",
          "city",
          "state",
          "postalCode",
          "country",
          "note"
        ],
        "description": "Company address for customer as stored in QuickBooks Desktop."
      },
      "QbdSubscribedService": {
        "type": "object",
        "properties": {
          "services": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdService"
            },
            "description": "Services entries for this subscribed services."
          }
        },
        "required": [
          "services"
        ],
        "description": "Subscribed services as stored in QuickBooks Desktop."
      },
      "QbdService": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this service, unique within its parent level."
          },
          "domain": {
            "type": [
              "string",
              "null"
            ],
            "description": "Domain of this service."
          },
          "serviceStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Service status of this service.",
            "enum": [
              "active",
              "expired",
              "never",
              "pending",
              "suspended",
              "terminated",
              "trial"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "name",
          "domain",
          "serviceStatus"
        ],
        "description": "Service as stored in QuickBooks Desktop."
      },
      "QbdAccountantCopy": {
        "type": "object",
        "properties": {
          "accountantCopyExists": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Accountant copy exists of this accountant copy."
          },
          "dividingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Dividing date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "required": [
          "accountantCopyExists",
          "dividingDate"
        ],
        "description": "Accountant copy as stored in QuickBooks Desktop."
      },
      "QbdCreditCardChargeList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/credit-card-charges"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditCardCharge"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCreditCardCharge": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this credit card charge."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_charge"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card charge was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card charge was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this credit card charge. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this credit card charge."
          },
          "payee": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payee for this credit card charge."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this credit card charge (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this credit card charge."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this credit card charge's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this credit card charge. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this credit card charge, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this credit card charge; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this credit card charge, stored by QuickBooks so you can match records with your system."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this credit card charge."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this credit card charge."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this credit card charge."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit card charge."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "account",
          "payee",
          "transactionDate",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "refNumber",
          "memo",
          "externalId",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "customFields"
        ],
        "description": "Credit card charge as stored in QuickBooks Desktop."
      },
      "QbdCreditCardChargeCreateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this credit card charge.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this credit card charge.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit card charge (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this credit card charge, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this credit card charge; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit card charge's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this credit card charge, stored by QuickBooks so you can match records with your system."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this credit card charge."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this credit card charge."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this credit card charge."
          }
        },
        "required": [
          "accountId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a credit card charge."
      },
      "QbdCreditCardChargeUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this credit card charge. Send it unchanged when updating; a stale value is rejected."
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this credit card charge.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this credit card charge.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit card charge (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this credit card charge, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this credit card charge; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit card charge's currency to the home currency."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this credit card charge. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this credit card charge. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the credit card charge first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card charge keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this credit card charge. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this credit card charge. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the credit card charge first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card charge keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this credit card charge. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the credit card charge first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card charge keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a credit card charge."
      },
      "QbdCreditCardChargeDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_charge"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCreditCardChargeVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_charge"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdCreditCardCreditList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/credit-card-credits"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditCardCredit"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCreditCardCredit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this credit card credit."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_credit"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card credit was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card credit was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this credit card credit. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this credit card credit."
          },
          "payee": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payee for this credit card credit."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this credit card credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this credit card credit."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this credit card credit's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this credit card credit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this credit card credit, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this credit card credit; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this credit card credit, stored by QuickBooks so you can match records with your system."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this credit card credit."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this credit card credit."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this credit card credit."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit card credit."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "account",
          "payee",
          "transactionDate",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "refNumber",
          "memo",
          "externalId",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "customFields"
        ],
        "description": "Credit card credit as stored in QuickBooks Desktop."
      },
      "QbdCreditCardCreditCreateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this credit card credit.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this credit card credit.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit card credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this credit card credit, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this credit card credit; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit card credit's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this credit card credit, stored by QuickBooks so you can match records with your system."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this credit card credit."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this credit card credit."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this credit card credit."
          }
        },
        "required": [
          "accountId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a credit card credit."
      },
      "QbdCreditCardCreditUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this credit card credit. Send it unchanged when updating; a stale value is rejected."
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this credit card credit.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this credit card credit.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit card credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this credit card credit, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this credit card credit; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit card credit's currency to the home currency."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this credit card credit. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this credit card credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the credit card credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card credit keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this credit card credit. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this credit card credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the credit card credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card credit keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this credit card credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the credit card credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit card credit keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a credit card credit."
      },
      "QbdCreditCardCreditDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_credit"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCreditCardCreditVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_credit"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdCreditCardRefundList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/credit-card-refunds"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditCardRefund"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCreditCardRefund": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this credit card refund."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_refund"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card refund was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit card refund was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this credit card refund. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this credit card refund."
          },
          "refundFromAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The refund from account for this credit card refund."
          },
          "receivablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The receivables account for this credit card refund."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this credit card refund (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this credit card refund, such as an invoice or check number. Case-sensitive."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this credit card refund as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this credit card refund."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this credit card refund's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this credit card refund. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this credit card refund."
          },
          "paymentMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payment method for this credit card refund."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this credit card refund; shown in reports, not on printed forms."
          },
          "creditCardTransaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransaction"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card transaction details for this credit card refund."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this credit card refund, stored by QuickBooks so you can match records with your system."
          },
          "refundAppliedToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdRefundAppliedToTransaction"
            },
            "description": "Refund applied to transactions entries for this credit card refund."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit card refund."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "refundFromAccount",
          "receivablesAccount",
          "transactionDate",
          "refNumber",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "address",
          "paymentMethod",
          "memo",
          "creditCardTransaction",
          "externalId",
          "refundAppliedToTransactions",
          "customFields"
        ],
        "description": "Credit card refund as stored in QuickBooks Desktop."
      },
      "QbdCreditCardTransaction": {
        "type": "object",
        "properties": {
          "request": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdRequest"
              },
              {
                "type": "null"
              }
            ],
            "description": "Request details for this credit card transaction info."
          },
          "response": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdResponse"
              },
              {
                "type": "null"
              }
            ],
            "description": "Response details for this credit card transaction info."
          }
        },
        "required": [
          "request",
          "response"
        ],
        "description": "Credit card transaction info as stored in QuickBooks Desktop."
      },
      "QbdRequest": {
        "type": "object",
        "properties": {
          "number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of this credit card transaction input info."
          },
          "expirationMonth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Expiration month of this credit card transaction input info."
          },
          "expirationYear": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Expiration year of this credit card transaction input info."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this credit card transaction input info, unique within its parent level."
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "description": "Address of this credit card transaction input info."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          },
          "commercialCardCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Commercial card code of this credit card transaction input info."
          },
          "transactionMode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction mode of this credit card transaction input info.",
            "enum": [
              "card_not_present",
              "card_present"
            ],
            "x-daapi-open-enum": true
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this credit card transaction input info.",
            "enum": [
              "authorization",
              "capture",
              "charge",
              "refund",
              "voice_authorization"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "number",
          "expirationMonth",
          "expirationYear",
          "name",
          "address",
          "postalCode",
          "commercialCardCode",
          "transactionMode",
          "transactionType"
        ],
        "description": "Credit card transaction input info as stored in QuickBooks Desktop."
      },
      "QbdResponse": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Status code of this credit card transaction result info."
          },
          "statusMessage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Status message of this credit card transaction result info."
          },
          "creditCardTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Credit card transaction of this credit card transaction result info."
          },
          "merchantAccountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Merchant account number of this credit card transaction result info."
          },
          "authorizationCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Authorization code of this credit card transaction result info."
          },
          "avsStreetStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Avs street status of this credit card transaction result info.",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "x-daapi-open-enum": true
          },
          "avsZipStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Avs zip status of this credit card transaction result info.",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "x-daapi-open-enum": true
          },
          "cardSecurityCodeMatch": {
            "type": [
              "string",
              "null"
            ],
            "description": "Card security code match of this credit card transaction result info.",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "x-daapi-open-enum": true
          },
          "reconBatchId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Recon batch of this credit card transaction result info."
          },
          "paymentGroupingCode": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Payment grouping code of this credit card transaction result info."
          },
          "paymentStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Payment status of this credit card transaction result info.",
            "enum": [
              "unknown",
              "completed"
            ],
            "x-daapi-open-enum": true
          },
          "transactionAuthorizedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Transaction authorized at, as an ISO 8601 date-time.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "transactionAuthorizationStamp": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Transaction authorization stamp of this credit card transaction result info."
          },
          "clientTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "Client transaction of this credit card transaction result info."
          }
        },
        "required": [
          "statusCode",
          "statusMessage",
          "creditCardTransactionId",
          "merchantAccountNumber",
          "authorizationCode",
          "avsStreetStatus",
          "avsZipStatus",
          "cardSecurityCodeMatch",
          "reconBatchId",
          "paymentGroupingCode",
          "paymentStatus",
          "transactionAuthorizedAt",
          "transactionAuthorizationStamp",
          "clientTransactionId"
        ],
        "description": "Credit card transaction result info as stored in QuickBooks Desktop."
      },
      "QbdRefundAppliedToTransaction": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the transaction."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this refund applied to transaction.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this refund applied to transaction (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this refund applied to transaction, such as an invoice or check number. Case-sensitive."
          },
          "creditRemaining": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining of this refund applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refundAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Refund amount of this refund applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "creditRemainingInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining in home currency of this refund applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refundAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Refund amount in home currency of this refund applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "transactionId",
          "transactionType",
          "transactionDate",
          "refNumber",
          "creditRemaining",
          "refundAmount",
          "creditRemainingInHomeCurrency",
          "refundAmountInHomeCurrency"
        ],
        "description": "Refund applied to transaction as stored in QuickBooks Desktop."
      },
      "QbdCreditCardRefundCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this credit card refund.",
            "example": "80000001-1234567890"
          },
          "refundFromAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the refund from account for this credit card refund.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this credit card refund.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit card refund (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this credit card refund, such as an invoice or check number. Case-sensitive."
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Address details for this credit card refund."
              }
            ]
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this credit card refund.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this credit card refund; shown in reports, not on printed forms."
          },
          "creditCardTransaction": {
            "$ref": "#/components/schemas/QbdCreditCardTransactionCreateInput"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit card refund's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this credit card refund, stored by QuickBooks so you can match records with your system."
          },
          "refundAppliedToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdRefundAppliedToTransactionCreateInput"
            },
            "description": "Refund applied to transactions entries for this credit card refund."
          }
        },
        "required": [
          "customerId",
          "refundAppliedToTransactions"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a credit card refund."
      },
      "QbdCreditCardTransactionCreateInput": {
        "type": "object",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/QbdRequestCreateInput"
          },
          "response": {
            "$ref": "#/components/schemas/QbdResponseCreateInput"
          }
        },
        "required": [
          "request",
          "response"
        ],
        "additionalProperties": false,
        "description": "Credit card transaction details for this credit card refund."
      },
      "QbdRequestCreateInput": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "maxLength": 25,
            "description": "Number of this credit card transaction input info."
          },
          "expirationMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "description": "Expiration month of this credit card transaction input info."
          },
          "expirationYear": {
            "type": "integer",
            "description": "Expiration year of this credit card transaction input info."
          },
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this credit card transaction input info, unique within its parent level."
          },
          "address": {
            "type": "string",
            "maxLength": 41,
            "description": "Address of this credit card transaction input info."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 18,
            "description": "Postal or ZIP code."
          },
          "commercialCardCode": {
            "type": "string",
            "maxLength": 24,
            "description": "Commercial card code of this credit card transaction input info."
          },
          "transactionMode": {
            "type": "string",
            "enum": [
              "card_not_present",
              "card_present"
            ],
            "description": "Transaction mode of this credit card transaction input info."
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "authorization",
              "capture",
              "charge",
              "refund",
              "voice_authorization"
            ],
            "description": "Transaction type of this credit card transaction input info."
          }
        },
        "required": [
          "number",
          "expirationMonth",
          "expirationYear",
          "name"
        ],
        "additionalProperties": false,
        "description": "Request details for this credit card transaction info."
      },
      "QbdResponseCreateInput": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "Status code of this credit card transaction result info."
          },
          "statusMessage": {
            "type": "string",
            "maxLength": 60,
            "description": "Status message of this credit card transaction result info."
          },
          "creditCardTransactionId": {
            "type": "string",
            "maxLength": 24,
            "description": "Credit card transaction of this credit card transaction result info."
          },
          "merchantAccountNumber": {
            "type": "string",
            "maxLength": 32,
            "description": "Merchant account number of this credit card transaction result info."
          },
          "authorizationCode": {
            "type": "string",
            "maxLength": 12,
            "description": "Authorization code of this credit card transaction result info."
          },
          "avsStreetStatus": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Avs street status of this credit card transaction result info."
          },
          "avsZipStatus": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Avs zip status of this credit card transaction result info."
          },
          "cardSecurityCodeMatch": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Card security code match of this credit card transaction result info."
          },
          "reconBatchId": {
            "type": "string",
            "maxLength": 84,
            "description": "Recon batch of this credit card transaction result info."
          },
          "paymentGroupingCode": {
            "type": "integer",
            "description": "Payment grouping code of this credit card transaction result info."
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "unknown",
              "completed"
            ],
            "description": "Payment status of this credit card transaction result info."
          },
          "transactionAuthorizedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Transaction authorized at, as an ISO 8601 date-time."
          },
          "transactionAuthorizationStamp": {
            "type": "integer",
            "description": "Transaction authorization stamp of this credit card transaction result info."
          },
          "clientTransactionId": {
            "type": "string",
            "maxLength": 16,
            "description": "Client transaction of this credit card transaction result info."
          }
        },
        "required": [
          "statusCode",
          "statusMessage",
          "creditCardTransactionId",
          "merchantAccountNumber",
          "paymentStatus",
          "transactionAuthorizedAt"
        ],
        "additionalProperties": false,
        "description": "Response details for this credit card transaction info."
      },
      "QbdRefundAppliedToTransactionCreateInput": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the transaction.",
            "example": "80000001-1234567890"
          },
          "refundAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Refund amount of this refund applied to transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "transactionId",
          "refundAmount"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a refund applied to transaction."
      },
      "QbdCreditCardRefundDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_refund"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCreditCardRefundVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_card_refund"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdCreditMemoList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/credit-memos"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemo"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCreditMemo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this credit memo."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_memo"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit memo was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this credit memo was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this credit memo. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this credit memo."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this credit memo."
          },
          "receivablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The receivables account for this credit memo."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this credit memo."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this credit memo (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this credit memo, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this credit memo."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this credit memo."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this credit memo is pending (not yet final) and does not post to accounts."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase order number of this credit memo."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this credit memo."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this credit memo is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this credit memo."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this credit memo."
          },
          "shippingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the goods on this credit memo were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The shipping method for this credit memo."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total of all lines before sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this credit memo."
          },
          "salesTaxPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax rate applied, as a percentage. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "salesTaxTotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this credit memo as a decimal string.",
            "example": "1250.00"
          },
          "creditRemaining": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining of this credit memo. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this credit memo."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this credit memo's currency to the home currency."
          },
          "creditRemainingInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit remaining in home currency of this credit memo. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this credit memo; shown in reports, not on printed forms."
          },
          "customerMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer message for this credit memo."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this credit memo is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this credit memo is in the queue of forms to email."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this credit memo."
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other\" text field on this credit memo."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this credit memo, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this credit memo, such as payments applied to it."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLine"
            },
            "description": "Line items of this credit memo."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineGroup"
            },
            "description": "Group lines of this credit memo: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit memo."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "class",
          "receivablesAccount",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "billingAddress",
          "shippingAddress",
          "isPending",
          "purchaseOrderNumber",
          "terms",
          "dueDate",
          "salesRepresentative",
          "shipmentOrigin",
          "shippingDate",
          "shippingMethod",
          "subtotal",
          "salesTaxItem",
          "salesTaxPercentage",
          "salesTaxTotal",
          "totalAmount",
          "creditRemaining",
          "currency",
          "exchangeRate",
          "creditRemainingInHomeCurrency",
          "memo",
          "customerMessage",
          "isQueuedForPrint",
          "isQueuedForEmail",
          "salesTaxCode",
          "otherCustomField",
          "externalId",
          "linkedTransactions",
          "lines",
          "lineGroups",
          "customFields"
        ],
        "description": "Credit memo as stored in QuickBooks Desktop."
      },
      "QbdCreditMemoLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this credit memo line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_memo_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this credit memo line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this credit memo line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this credit memo line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this credit memo line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this credit memo line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this credit memo line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this credit memo line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this credit memo line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this credit memo line."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this credit memo line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this credit memo line."
          },
          "creditCardTransaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransaction"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card transaction details for this credit memo line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit memo line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "ratePercent",
          "class",
          "amount",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "serviceDate",
          "salesTaxCode",
          "otherCustomField1",
          "otherCustomField2",
          "creditCardTransaction",
          "customFields"
        ],
        "description": "Credit memo line as stored in QuickBooks Desktop."
      },
      "QbdCreditMemoLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this credit memo line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_memo_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this credit memo line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this credit memo line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this credit memo line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLine"
            },
            "description": "Line items of this credit memo line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this credit memo line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Credit memo line group as stored in QuickBooks Desktop."
      },
      "QbdCreditMemoCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this credit memo.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this credit memo.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this credit memo.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this credit memo.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit memo (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this credit memo, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this credit memo."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this credit memo."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this credit memo is pending (not yet final) and does not post to accounts."
          },
          "purchaseOrderNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Purchase order number of this credit memo."
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this credit memo.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this credit memo is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this credit memo.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this credit memo."
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this credit memo were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this credit memo.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this credit memo.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this credit memo; shown in reports, not on printed forms."
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this credit memo.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this credit memo is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this credit memo is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this credit memo.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this credit memo."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit memo's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this credit memo, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineCreateInput"
            },
            "description": "Line items of this credit memo."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineGroupCreateInput"
            },
            "description": "Group lines of this credit memo: each expands an item group into its component lines."
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a credit memo. Requires at least one of: lines or lineGroups."
      },
      "QbdCreditMemoLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this credit memo line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this credit memo line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this credit memo line. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this credit memo line. Cannot be combined with serialNumber."
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this credit memo line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this credit memo line."
          },
          "creditCardTransaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransactionCreateInput"
              },
              {
                "description": "Credit card transaction details for this credit memo line."
              }
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this credit memo line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a credit memo line."
      },
      "QbdCreditMemoLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this credit memo line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this credit memo line group.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this credit memo line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this credit memo line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a credit memo line group."
      },
      "QbdCreditMemoUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this credit memo. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this credit memo.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this credit memo.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this credit memo.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this credit memo.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this credit memo (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this credit memo, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this credit memo."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this credit memo."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this credit memo is pending (not yet final) and does not post to accounts."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Purchase order number of this credit memo.",
            "x-daapi-clearable": true
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this credit memo.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this credit memo is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this credit memo.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this credit memo.",
            "x-daapi-clearable": true
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this credit memo were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this credit memo.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this credit memo.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this credit memo; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this credit memo.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this credit memo is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this credit memo is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this credit memo.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this credit memo.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this credit memo's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineUpdateInput"
            },
            "description": "Line items of this credit memo. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the credit memo first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit memo keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineGroupUpdateInput"
            },
            "description": "Group lines of this credit memo: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the credit memo first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the credit memo keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a credit memo."
      },
      "QbdCreditMemoLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this credit memo line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this credit memo line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this credit memo line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this credit memo line. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this credit memo line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this credit memo line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this credit memo line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this credit memo line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a credit memo line."
      },
      "QbdCreditMemoLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this credit memo line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this credit memo line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this credit memo line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCreditMemoLineUpdateInput"
            },
            "description": "Line items of this credit memo line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a credit memo line group."
      },
      "QbdCreditMemoDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_memo"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdCreditMemoVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_credit_memo"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdCurrencyList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/currencies"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCurrency"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdCurrency": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this currency."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_currency"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this currency was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this currency was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this currency. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this currency, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this currency is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "currencyCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Currency code of this currency."
          },
          "currencyFormat": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCurrencyFormat"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency format details for this currency."
          },
          "isUserDefinedCurrency": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this currency is user defined currency."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this currency's currency to the home currency."
          },
          "asOfDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "As of date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "currencyCode",
          "currencyFormat",
          "isUserDefinedCurrency",
          "exchangeRate",
          "asOfDate"
        ],
        "description": "Currency as stored in QuickBooks Desktop."
      },
      "QbdCurrencyFormat": {
        "type": "object",
        "properties": {
          "thousandSeparator": {
            "type": [
              "string",
              "null"
            ],
            "description": "Thousand separator of this currency format.",
            "enum": [
              "comma",
              "period",
              "space",
              "apostrophe"
            ],
            "x-daapi-open-enum": true
          },
          "thousandSeparatorGrouping": {
            "type": [
              "string",
              "null"
            ],
            "description": "Thousand separator grouping of this currency format.",
            "enum": [
              "xx_xxx_xxx",
              "x_xx_xx_xxx"
            ],
            "x-daapi-open-enum": true
          },
          "decimalPlaces": {
            "type": [
              "string",
              "null"
            ],
            "description": "Decimal places of this currency format.",
            "enum": [
              "0",
              "2"
            ],
            "x-daapi-open-enum": true
          },
          "decimalSeparator": {
            "type": [
              "string",
              "null"
            ],
            "description": "Decimal separator of this currency format.",
            "enum": [
              "period",
              "comma"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "thousandSeparator",
          "thousandSeparatorGrouping",
          "decimalPlaces",
          "decimalSeparator"
        ],
        "description": "Currency format as stored in QuickBooks Desktop."
      },
      "QbdCurrencyCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64,
            "description": "Name of this currency, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this currency is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "currencyCode": {
            "type": "string",
            "maxLength": 3,
            "description": "Currency code of this currency."
          },
          "currencyFormat": {
            "$ref": "#/components/schemas/QbdCurrencyFormatInput"
          }
        },
        "required": [
          "name",
          "currencyCode"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a currency."
      },
      "QbdCurrencyFormatInput": {
        "type": "object",
        "properties": {
          "thousandSeparator": {
            "type": "string",
            "enum": [
              "comma",
              "period",
              "space",
              "apostrophe"
            ],
            "description": "Thousand separator of this currency format."
          },
          "thousandSeparatorGrouping": {
            "type": "string",
            "enum": [
              "xx_xxx_xxx",
              "x_xx_xx_xxx"
            ],
            "description": "Thousand separator grouping of this currency format."
          },
          "decimalPlaces": {
            "type": "string",
            "enum": [
              "0",
              "2"
            ],
            "description": "Decimal places of this currency format."
          },
          "decimalSeparator": {
            "type": "string",
            "enum": [
              "period",
              "comma"
            ],
            "description": "Decimal separator of this currency format."
          }
        },
        "additionalProperties": false,
        "description": "Currency format details for this currency."
      },
      "QbdCurrencyUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this currency. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 64,
            "description": "Name of this currency, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this currency is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "currencyCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 3,
            "description": "Currency code of this currency.",
            "x-daapi-clearable": true
          },
          "currencyFormat": {
            "$ref": "#/components/schemas/QbdCurrencyFormatInput"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a currency."
      },
      "QbdCustomerTypeList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/customer-types"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomerType"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdCustomerType": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this customer type."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_customer_type"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this customer type was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this customer type was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this customer type. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this customer type, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this customer type: parent names and its own name separated by colons."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this customer type is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "isActive",
          "parent",
          "sublevel"
        ],
        "description": "Customer type as stored in QuickBooks Desktop."
      },
      "QbdCustomerTypeCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this customer type, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this customer type is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this customer type a child in the hierarchy.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a customer type."
      },
      "QbdCustomerList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/customers"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomer"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdCustomer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this customer."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_customer"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this customer was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this customer was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this customer. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this customer, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this customer: parent names and its own name separated by colons."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this customer is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this customer."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company name."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name."
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this customer."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this customer."
          },
          "alternateShippingAddresses": {
            "anyOf": [
              {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/QbdShippingAddress"
                }
              },
              {
                "type": "null"
              }
            ],
            "description": "Alternate shipping addresses entries for this customer."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alternate phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "ccEmail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address copied on emailed forms."
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of an alternate contact person."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactField"
            },
            "description": "Custom contact fields entries for this customer."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContact"
            },
            "description": "Additional contacts entries for this customer."
          },
          "customerType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer type for this customer."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this customer."
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this customer."
          },
          "balance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open balance of this customer alone, as a decimal string.",
            "example": "1250.00"
          },
          "totalBalance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open balance including all child jobs, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this customer."
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this customer."
          },
          "resaleNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Resale number of this customer."
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account number for this customer."
          },
          "creditLimit": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "preferredPaymentMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The preferred payment method for this customer."
          },
          "creditCard": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCard"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card details for this customer."
          },
          "jobStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job status of this customer.",
            "enum": [
              "awarded",
              "closed",
              "in_progress",
              "none",
              "not_awarded",
              "pending"
            ],
            "x-daapi-open-enum": true
          },
          "jobStartDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Job start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobProjectedEndDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Job projected end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobEndDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Job end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job description of this customer."
          },
          "jobType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The job type for this customer."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this customer."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNote"
            },
            "description": "Additional notes entries for this customer."
          },
          "preferredDeliveryMethod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Preferred delivery method of this customer.",
            "enum": [
              "none",
              "email",
              "mail"
            ],
            "x-daapi-open-enum": true
          },
          "priceLevel": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The price level for this customer."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this customer, stored by QuickBooks so you can match records with your system."
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this customer."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this customer."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "companyName",
          "salutation",
          "firstName",
          "middleName",
          "lastName",
          "jobTitle",
          "billingAddress",
          "shippingAddress",
          "alternateShippingAddresses",
          "phone",
          "alternatePhone",
          "fax",
          "email",
          "ccEmail",
          "contact",
          "alternateContact",
          "customContactFields",
          "additionalContacts",
          "customerType",
          "terms",
          "salesRepresentative",
          "balance",
          "totalBalance",
          "salesTaxCode",
          "salesTaxItem",
          "resaleNumber",
          "accountNumber",
          "creditLimit",
          "preferredPaymentMethod",
          "creditCard",
          "jobStatus",
          "jobStartDate",
          "jobProjectedEndDate",
          "jobEndDate",
          "jobDescription",
          "jobType",
          "note",
          "additionalNotes",
          "preferredDeliveryMethod",
          "priceLevel",
          "externalId",
          "currency",
          "customFields"
        ],
        "description": "Customer as stored in QuickBooks Desktop."
      },
      "QbdShippingAddress": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this ship to address, unique within its parent level."
          },
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line."
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "description": "Third address line."
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fourth address line."
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fifth address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or locality."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State, province or region."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this ship to address."
          },
          "isDefaultShippingAddress": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this ship to address is default shipping address."
          }
        },
        "required": [
          "name",
          "line1",
          "line2",
          "line3",
          "line4",
          "line5",
          "city",
          "state",
          "postalCode",
          "country",
          "note",
          "isDefaultShippingAddress"
        ],
        "description": "Ship to address as stored in QuickBooks Desktop."
      },
      "QbdCustomContactField": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this additional contact ref, unique within its parent level."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Value."
          }
        },
        "required": [
          "name",
          "value"
        ],
        "description": "Additional contact ref as stored in QuickBooks Desktop."
      },
      "QbdContact": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this contacts."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_contact"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When this contacts was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "When this contacts was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Current revision of this contacts. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this contacts, unique within its parent level."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name."
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactField"
            },
            "description": "Custom contact fields entries for this contacts."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "salutation",
          "firstName",
          "middleName",
          "lastName",
          "jobTitle",
          "customContactFields"
        ],
        "description": "Contacts as stored in QuickBooks Desktop."
      },
      "QbdCreditCard": {
        "type": "object",
        "properties": {
          "number": {
            "type": [
              "string",
              "null"
            ],
            "description": "Number of this credit card info."
          },
          "expirationMonth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Expiration month of this credit card info."
          },
          "expirationYear": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Expiration year of this credit card info."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this credit card info, unique within its parent level."
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "description": "Address of this credit card info."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          }
        },
        "required": [
          "number",
          "expirationMonth",
          "expirationYear",
          "name",
          "address",
          "postalCode"
        ],
        "description": "Credit card info as stored in QuickBooks Desktop."
      },
      "QbdNote": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "integer",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this additional notes."
          },
          "date": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this additional notes."
          }
        },
        "required": [
          "id",
          "date",
          "note"
        ],
        "description": "Additional notes as stored in QuickBooks Desktop."
      },
      "QbdCustomerCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this customer, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this customer is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this customer.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this customer a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "companyName": {
            "type": "string",
            "maxLength": 41,
            "description": "Company name."
          },
          "salutation": {
            "type": "string",
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": "string",
            "maxLength": 5,
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": "string",
            "maxLength": 25,
            "description": "Last name."
          },
          "jobTitle": {
            "type": "string",
            "maxLength": 41,
            "description": "Job title."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this customer."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this customer."
              }
            ]
          },
          "alternateShippingAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdShippingAddressCreateInput"
            },
            "description": "Alternate shipping addresses entries for this customer."
          },
          "phone": {
            "type": "string",
            "maxLength": 21,
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": "string",
            "maxLength": 21,
            "description": "Alternate phone number."
          },
          "fax": {
            "type": "string",
            "maxLength": 21,
            "description": "Fax number."
          },
          "email": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address."
          },
          "ccEmail": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address copied on emailed forms."
          },
          "contact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of an alternate contact person."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this customer."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContactCreateInput"
            },
            "description": "Additional contacts entries for this customer."
          },
          "customerTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer type for this customer.",
            "example": "80000001-1234567890"
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this customer.",
            "example": "80000001-1234567890"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this customer.",
            "example": "80000001-1234567890"
          },
          "openingBalance": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Opening balance when this customer was created, as a decimal string.",
            "example": "1250.00"
          },
          "openingBalanceDate": {
            "type": "string",
            "format": "date",
            "description": "Date of the opening balance (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this customer.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this customer.",
            "example": "80000001-1234567890"
          },
          "resaleNumber": {
            "type": "string",
            "maxLength": 21,
            "description": "Resale number of this customer."
          },
          "accountNumber": {
            "type": "string",
            "maxLength": 99,
            "description": "Account number for this customer."
          },
          "creditLimit": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "preferredPaymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred payment method for this customer.",
            "example": "80000001-1234567890"
          },
          "creditCard": {
            "$ref": "#/components/schemas/QbdCreditCardCreateInput"
          },
          "jobStatus": {
            "type": "string",
            "enum": [
              "awarded",
              "closed",
              "in_progress",
              "none",
              "not_awarded",
              "pending"
            ],
            "description": "Job status of this customer."
          },
          "jobStartDate": {
            "type": "string",
            "format": "date",
            "description": "Job start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobProjectedEndDate": {
            "type": "string",
            "format": "date",
            "description": "Job projected end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobEndDate": {
            "type": "string",
            "format": "date",
            "description": "Job end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobDescription": {
            "type": "string",
            "maxLength": 99,
            "description": "Job description of this customer."
          },
          "jobTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the job type for this customer.",
            "example": "80000001-1234567890"
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this customer."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteCreateInput"
            },
            "description": "Additional notes entries for this customer."
          },
          "preferredDeliveryMethod": {
            "type": "string",
            "enum": [
              "none",
              "email",
              "mail"
            ],
            "description": "Preferred delivery method of this customer."
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this customer.",
            "example": "80000001-1234567890"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this customer, stored by QuickBooks so you can match records with your system."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this customer.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a customer."
      },
      "QbdShippingAddressCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this ship to address, unique within its parent level."
          },
          "line1": {
            "type": "string",
            "maxLength": 41,
            "description": "First address line."
          },
          "line2": {
            "type": "string",
            "maxLength": 41,
            "description": "Second address line."
          },
          "line3": {
            "type": "string",
            "maxLength": 41,
            "description": "Third address line."
          },
          "line4": {
            "type": "string",
            "maxLength": 41,
            "description": "Fourth address line."
          },
          "line5": {
            "type": "string",
            "maxLength": 41,
            "description": "Fifth address line."
          },
          "city": {
            "type": "string",
            "maxLength": 31,
            "description": "City or locality."
          },
          "state": {
            "type": "string",
            "maxLength": 21,
            "description": "State, province or region."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 13,
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": "string",
            "maxLength": 31,
            "description": "Country."
          },
          "note": {
            "type": "string",
            "maxLength": 41,
            "description": "Note for this ship to address."
          },
          "isDefaultShippingAddress": {
            "type": "boolean",
            "description": "Whether this ship to address is default shipping address."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a ship to address."
      },
      "QbdCustomContactFieldInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 40,
            "description": "Name of this additional contact ref, unique within its parent level."
          },
          "value": {
            "type": "string",
            "maxLength": 255,
            "description": "Value."
          }
        },
        "required": [
          "name",
          "value"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an additional contact ref."
      },
      "QbdContactCreateInput": {
        "type": "object",
        "properties": {
          "salutation": {
            "type": "string",
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": "string",
            "maxLength": 5,
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": "string",
            "maxLength": 25,
            "description": "Last name."
          },
          "jobTitle": {
            "type": "string",
            "maxLength": 41,
            "description": "Job title."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this contacts."
          }
        },
        "required": [
          "firstName"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a contacts."
      },
      "QbdCreditCardCreateInput": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "maxLength": 25,
            "description": "Number of this credit card info."
          },
          "expirationMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "description": "Expiration month of this credit card info."
          },
          "expirationYear": {
            "type": "integer",
            "description": "Expiration year of this credit card info."
          },
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this credit card info, unique within its parent level."
          },
          "address": {
            "type": "string",
            "maxLength": 41,
            "description": "Address of this credit card info."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 41,
            "description": "Postal or ZIP code."
          }
        },
        "additionalProperties": false,
        "description": "Credit card details for this customer."
      },
      "QbdNoteCreateInput": {
        "type": "object",
        "properties": {
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this additional notes."
          }
        },
        "required": [
          "note"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an additional notes."
      },
      "QbdCustomerUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this customer. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this customer, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this customer is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this customer.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this customer a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Company name.",
            "x-daapi-clearable": true
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr.",
            "x-daapi-clearable": true
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "First name.",
            "x-daapi-clearable": true
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Middle name or initial.",
            "x-daapi-clearable": true
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Last name.",
            "x-daapi-clearable": true
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Job title.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this customer."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this customer."
              }
            ]
          },
          "alternateShippingAddresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdShippingAddressUpdateInput"
            },
            "description": "Alternate shipping addresses entries for this customer."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Main phone number.",
            "x-daapi-clearable": true
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Alternate phone number.",
            "x-daapi-clearable": true
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Fax number.",
            "x-daapi-clearable": true
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address.",
            "x-daapi-clearable": true
          },
          "ccEmail": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address copied on emailed forms.",
            "x-daapi-clearable": true
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of the main contact person.",
            "x-daapi-clearable": true
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of an alternate contact person.",
            "x-daapi-clearable": true
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this customer."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContactUpdateInput"
            },
            "description": "Additional contacts entries for this customer."
          },
          "customerTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer type for this customer.",
            "example": "80000001-1234567890"
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this customer.",
            "example": "80000001-1234567890"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this customer.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this customer.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this customer.",
            "example": "80000001-1234567890"
          },
          "resaleNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Resale number of this customer.",
            "x-daapi-clearable": true
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Account number for this customer.",
            "x-daapi-clearable": true
          },
          "creditLimit": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "preferredPaymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred payment method for this customer.",
            "example": "80000001-1234567890"
          },
          "creditCard": {
            "$ref": "#/components/schemas/QbdCreditCardUpdateInput"
          },
          "jobStatus": {
            "type": "string",
            "enum": [
              "awarded",
              "closed",
              "in_progress",
              "none",
              "not_awarded",
              "pending"
            ],
            "description": "Job status of this customer."
          },
          "jobStartDate": {
            "type": "string",
            "format": "date",
            "description": "Job start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobProjectedEndDate": {
            "type": "string",
            "format": "date",
            "description": "Job projected end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobEndDate": {
            "type": "string",
            "format": "date",
            "description": "Job end date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "jobDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Job description of this customer.",
            "x-daapi-clearable": true
          },
          "jobTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the job type for this customer.",
            "example": "80000001-1234567890"
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Note for this customer.",
            "x-daapi-clearable": true
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteUpdateInput"
            },
            "description": "Additional notes entries for this customer."
          },
          "preferredDeliveryMethod": {
            "type": "string",
            "enum": [
              "none",
              "email",
              "mail"
            ],
            "description": "Preferred delivery method of this customer."
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this customer.",
            "example": "80000001-1234567890"
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this customer.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a customer."
      },
      "QbdShippingAddressUpdateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this ship to address, unique within its parent level."
          },
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "First address line.",
            "x-daapi-clearable": true
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Second address line.",
            "x-daapi-clearable": true
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Third address line.",
            "x-daapi-clearable": true
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fourth address line.",
            "x-daapi-clearable": true
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fifth address line.",
            "x-daapi-clearable": true
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "City or locality.",
            "x-daapi-clearable": true
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "State, province or region.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Country.",
            "x-daapi-clearable": true
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Note for this ship to address.",
            "x-daapi-clearable": true
          },
          "isDefaultShippingAddress": {
            "type": "boolean",
            "description": "Whether this ship to address is default shipping address."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a ship to address."
      },
      "QbdContactUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this contacts. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "revisionNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 16,
            "description": "Current revision of this contacts. Send it unchanged when updating; a stale value is rejected.",
            "x-daapi-clearable": true
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr.",
            "x-daapi-clearable": true
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Middle name or initial.",
            "x-daapi-clearable": true
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Last name.",
            "x-daapi-clearable": true
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Job title.",
            "x-daapi-clearable": true
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this contacts."
          }
        },
        "required": [
          "firstName"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a contacts."
      },
      "QbdCreditCardUpdateInput": {
        "type": "object",
        "properties": {
          "number": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Number of this credit card info.",
            "x-daapi-clearable": true
          },
          "expirationMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "description": "Expiration month of this credit card info."
          },
          "expirationYear": {
            "type": "integer",
            "description": "Expiration year of this credit card info."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of this credit card info, unique within its parent level.",
            "x-daapi-clearable": true
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Address of this credit card info.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Credit card details for this customer."
      },
      "QbdNoteUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "QuickBooks-assigned ID of this additional notes. Use \"-1\" to add a new line."
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this additional notes."
          }
        },
        "required": [
          "id",
          "note"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an additional notes."
      },
      "QbdDateDrivenTermList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/date-driven-terms"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDateDrivenTerm"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdDateDrivenTerm": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this date-driven term."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_date_driven_term"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this date-driven term was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this date-driven term was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this date-driven term. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this date-driven term, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this date-driven term is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "dueDayOfMonth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Due day of month of this date-driven term."
          },
          "gracePeriodDays": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Grace period days of this date-driven term."
          },
          "discountDayOfMonth": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Discount day of month of this date-driven term."
          },
          "discountPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Discount percentage of this date-driven term. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "dueDayOfMonth",
          "gracePeriodDays",
          "discountDayOfMonth",
          "discountPercentage"
        ],
        "description": "Date-driven term as stored in QuickBooks Desktop."
      },
      "QbdDateDrivenTermCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this date-driven term, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this date-driven term is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "dueDayOfMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 31,
            "description": "Due day of month of this date-driven term."
          },
          "gracePeriodDays": {
            "type": "integer",
            "description": "Grace period days of this date-driven term."
          },
          "discountDayOfMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 31,
            "description": "Discount day of month of this date-driven term."
          },
          "discountPercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount percentage of this date-driven term. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "name",
          "dueDayOfMonth"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a date-driven term."
      },
      "QbdDeletedListObjectList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/deleted-list-objects"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDeletedListObject"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdDeletedListObject": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deleted_list_object"
            ],
            "description": "Type of this object."
          },
          "listType": {
            "type": [
              "string",
              "null"
            ],
            "description": "List type of this deleted list object.",
            "enum": [
              "account",
              "billing_rate",
              "class",
              "currency",
              "customer",
              "customer_message",
              "customer_type",
              "date_driven_terms",
              "employee",
              "inventory_site",
              "item_discount",
              "item_fixed_asset",
              "item_group",
              "item_inventory",
              "item_inventory_assembly",
              "item_non_inventory",
              "item_other_charge",
              "item_payment",
              "item_sales_tax",
              "item_sales_tax_group",
              "item_service",
              "item_subtotal",
              "job_type",
              "other_name",
              "payment_method",
              "payroll_item_non_wage",
              "payroll_item_wage",
              "price_level",
              "sales_representative",
              "sales_tax_code",
              "ship_method",
              "standard_terms",
              "to_do",
              "unit_of_measure_set",
              "vehicle",
              "vendor",
              "vendor_type",
              "workers_comp_code"
            ],
            "x-daapi-open-enum": true
          },
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this deleted list object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this deleted list object was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Deleted at, as an ISO 8601 date-time.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this deleted list object: parent names and its own name separated by colons."
          }
        },
        "required": [
          "objectType",
          "listType",
          "id",
          "createdAt",
          "deletedAt",
          "fullName"
        ],
        "description": "Deleted list object as stored in QuickBooks Desktop."
      },
      "QbdObjectType": {
        "type": "string",
        "enum": [
          "account",
          "billing_rate",
          "class",
          "currency",
          "customer",
          "customer_message",
          "customer_type",
          "date_driven_terms",
          "employee",
          "inventory_site",
          "item_discount",
          "item_fixed_asset",
          "item_group",
          "item_inventory",
          "item_inventory_assembly",
          "item_non_inventory",
          "item_other_charge",
          "item_payment",
          "item_sales_tax",
          "item_sales_tax_group",
          "item_service",
          "item_subtotal",
          "job_type",
          "other_name",
          "payment_method",
          "payroll_item_non_wage",
          "payroll_item_wage",
          "price_level",
          "sales_representative",
          "sales_tax_code",
          "ship_method",
          "standard_terms",
          "to_do",
          "unit_of_measure_set",
          "vehicle",
          "vendor",
          "vendor_type",
          "workers_comp_code"
        ]
      },
      "QbdDeletedTransactionList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/deleted-transactions"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDeletedTransaction"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdDeletedTransaction": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deleted_transaction"
            ],
            "description": "Type of this object."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this deleted transaction.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "payroll_liability_adjustment",
              "payroll_prior_payment",
              "payroll_year_to_date_adjustment",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "time_tracking",
              "transfer_inventory",
              "vehicle_mileage",
              "vendor_credit"
            ],
            "x-daapi-open-enum": true
          },
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this deleted transaction."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this deleted transaction was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "deletedAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Deleted at, as an ISO 8601 date-time.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this deleted transaction, such as an invoice or check number. Case-sensitive."
          }
        },
        "required": [
          "objectType",
          "transactionType",
          "id",
          "createdAt",
          "deletedAt",
          "refNumber"
        ],
        "description": "Deleted transaction as stored in QuickBooks Desktop."
      },
      "QbdDeletedTransactionTransactionType": {
        "type": "string",
        "enum": [
          "ar_refund_credit_card",
          "bill",
          "bill_payment_check",
          "bill_payment_credit_card",
          "build_assembly",
          "charge",
          "check",
          "credit_card_charge",
          "credit_card_credit",
          "credit_memo",
          "deposit",
          "estimate",
          "inventory_adjustment",
          "invoice",
          "item_receipt",
          "journal_entry",
          "payroll_liability_adjustment",
          "payroll_prior_payment",
          "payroll_year_to_date_adjustment",
          "purchase_order",
          "receive_payment",
          "sales_order",
          "sales_receipt",
          "sales_tax_payment_check",
          "time_tracking",
          "transfer_inventory",
          "vehicle_mileage",
          "vendor_credit"
        ]
      },
      "QbdDepositList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/deposits"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDeposit"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdDeposit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this deposit."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deposit"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this deposit was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this deposit was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this deposit. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this deposit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "depositToAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The deposit to account for this deposit."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this deposit; shown in reports, not on printed forms."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this deposit as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this deposit."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this deposit's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this deposit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "cashBack": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdDepositCashBackLine"
              },
              {
                "type": "null"
              }
            ],
            "description": "Cash back details for this deposit."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this deposit, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDepositLine"
            },
            "description": "Line items of this deposit."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this deposit."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "transactionDate",
          "depositToAccount",
          "memo",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "cashBack",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Deposit as stored in QuickBooks Desktop."
      },
      "QbdDepositCashBackLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this cash back info."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deposit_cash_back_line"
            ],
            "description": "Type of this object."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this cash back info."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this cash back info; shown in reports, not on printed forms."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "id",
          "objectType",
          "account",
          "memo",
          "amount"
        ],
        "description": "Cash back info as stored in QuickBooks Desktop."
      },
      "QbdDepositLine": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deposit_line"
            ],
            "description": "Type of this object."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this deposit line.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "paymentTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the payment transaction."
          },
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this deposit line."
          },
          "paymentTransactionLineId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the payment transaction line."
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this deposit line."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this deposit line."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this deposit line; shown in reports, not on printed forms."
          },
          "checkNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Check number of this deposit line."
          },
          "paymentMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payment method for this deposit line."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this deposit line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "objectType",
          "transactionType",
          "paymentTransactionId",
          "id",
          "paymentTransactionLineId",
          "entity",
          "account",
          "memo",
          "checkNumber",
          "paymentMethod",
          "class",
          "amount"
        ],
        "description": "Deposit line as stored in QuickBooks Desktop."
      },
      "QbdDepositCreateInput": {
        "type": "object",
        "properties": {
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this deposit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this deposit.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this deposit; shown in reports, not on printed forms."
          },
          "cashBack": {
            "$ref": "#/components/schemas/QbdDepositCashBackLineCreateInput"
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this deposit.",
            "example": "80000001-1234567890"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this deposit's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this deposit, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDepositLineCreateInput"
            },
            "description": "Line items of this deposit."
          }
        },
        "required": [
          "depositToAccountId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a deposit."
      },
      "QbdDepositCashBackLineCreateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this cash back info.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this cash back info; shown in reports, not on printed forms."
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "accountId"
        ],
        "additionalProperties": false,
        "description": "Cash back details for this deposit."
      },
      "QbdDepositLineCreateInput": {
        "type": "object",
        "properties": {
          "paymentTransactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment transaction. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "paymentTransactionLineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment transaction line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "overrideMemo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Override memo of this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount."
          },
          "overrideCheckNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Override check number of this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount."
          },
          "overrideClassId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override class for this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this deposit line; shown in reports, not on printed forms. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId."
          },
          "checkNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Check number of this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId."
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "1250.00"
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a deposit line. Requires at least one of: paymentTransactionId or paymentTransactionLineId or overrideMemo or overrideCheckNumber or overrideClassId or entityId or accountId or memo or checkNumber or paymentMethodId or classId or amount."
      },
      "QbdDepositUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this deposit. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this deposit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this deposit.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this deposit; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "cashBack": {
            "$ref": "#/components/schemas/QbdDepositCashBackLineUpdateInput"
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this deposit.",
            "example": "80000001-1234567890"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this deposit's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDepositLineUpdateInput"
            },
            "description": "Line items of this deposit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep the lines unchanged. An update cannot remove every line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a deposit."
      },
      "QbdDepositCashBackLineUpdateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this cash back info.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this cash back info; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "additionalProperties": false,
        "description": "Cash back details for this deposit."
      },
      "QbdDepositLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this deposit line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "paymentTransactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment transaction. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "paymentTransactionLineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment transaction line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "overrideMemo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Override memo of this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "x-daapi-clearable": true
          },
          "overrideCheckNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Override check number of this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "x-daapi-clearable": true
          },
          "overrideClassId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override class for this deposit line. Cannot be combined with entityId, accountId, memo, checkNumber, paymentMethodId, classId, amount.",
            "example": "80000001-1234567890"
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this deposit line; shown in reports, not on printed forms. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "x-daapi-clearable": true
          },
          "checkNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Check number of this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "x-daapi-clearable": true
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this deposit line. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string. Cannot be combined with paymentTransactionId, paymentTransactionLineId, overrideMemo, overrideCheckNumber, overrideClassId.",
            "example": "1250.00"
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a deposit line. Requires at least one of: paymentTransactionId or paymentTransactionLineId or overrideMemo or overrideCheckNumber or overrideClassId or entityId or accountId or memo or checkNumber or paymentMethodId or classId or amount."
      },
      "QbdDepositDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deposit"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdDepositVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_deposit"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdDiscountItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/discount-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDiscountItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdDiscountItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this discount item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_discount_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this discount item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this discount item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this discount item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this discount item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this discount item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this discount item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this discount item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this discount item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this discount item."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this discount item."
          },
          "discountRate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Discount rate of this discount item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "discountRatePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Discount rate percent of this discount item. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this discount item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this discount item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this discount item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "description",
          "salesTaxCode",
          "discountRate",
          "discountRatePercent",
          "account",
          "externalId",
          "customFields"
        ],
        "description": "Discount item as stored in QuickBooks Desktop."
      },
      "QbdDiscountItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this discount item, unique within its parent level."
          },
          "barcode": {
            "$ref": "#/components/schemas/QbdBarcodeCreateInput"
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this discount item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this discount item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this discount item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this discount item."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this discount item.",
            "example": "80000001-1234567890"
          },
          "discountRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount rate of this discount item. Decimal string with up to 5 decimal places. Cannot be combined with discountRatePercent.",
            "example": "19.99"
          },
          "discountRatePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount rate percent of this discount item. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with discountRate.",
            "example": "7.5"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this discount item.",
            "example": "80000001-1234567890"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this discount item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a discount item."
      },
      "QbdBarcodeCreateInput": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "maxLength": 50,
            "description": "Value."
          },
          "assignEvenIfUsed": {
            "type": "boolean",
            "description": "Assign even if used of this bar code."
          },
          "allowOverride": {
            "type": "boolean",
            "description": "Allow override of this bar code."
          }
        },
        "additionalProperties": false,
        "description": "Barcode details for this discount item."
      },
      "QbdDiscountItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this discount item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this discount item, unique within its parent level."
          },
          "barcode": {
            "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this discount item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this discount item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this discount item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this discount item.",
            "x-daapi-clearable": true
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this discount item.",
            "example": "80000001-1234567890"
          },
          "discountRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount rate of this discount item. Decimal string with up to 5 decimal places. Cannot be combined with discountRatePercent.",
            "example": "19.99"
          },
          "discountRatePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount rate percent of this discount item. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with discountRate.",
            "example": "7.5"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this discount item.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsAccount": {
            "type": "boolean",
            "description": "Update existing transactions account of this discount item."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a discount item."
      },
      "QbdBarcodeUpdateInput": {
        "type": "object",
        "properties": {
          "value": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 50,
            "description": "Value.",
            "x-daapi-clearable": true
          },
          "assignEvenIfUsed": {
            "type": "boolean",
            "description": "Assign even if used of this bar code."
          },
          "allowOverride": {
            "type": "boolean",
            "description": "Allow override of this bar code."
          }
        },
        "additionalProperties": false,
        "description": "Barcode details for this discount item."
      },
      "QbdEmployeeList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/employees"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEmployee"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdEmployee": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this employee."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_employee"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this employee was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this employee was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this employee. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this employee, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this employee is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name."
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title."
          },
          "supervisor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The supervisor for this employee."
          },
          "department": {
            "type": [
              "string",
              "null"
            ],
            "description": "Department of this employee."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this employee."
          },
          "targetBonus": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Target bonus of this employee. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdEmployeeAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this employee."
          },
          "printAs": {
            "type": [
              "string",
              "null"
            ],
            "description": "Print as of this employee."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "mobile": {
            "type": [
              "string",
              "null"
            ],
            "description": "Mobile of this employee."
          },
          "pager": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pager of this employee."
          },
          "pagerPin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pager pin of this employee."
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alternate phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "ssn": {
            "type": [
              "string",
              "null"
            ],
            "description": "Ssn of this employee."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactField"
            },
            "description": "Custom contact fields entries for this employee."
          },
          "emergencyContact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdEmergencyContact"
              },
              {
                "type": "null"
              }
            ],
            "description": "Emergency contact details for this employee."
          },
          "employeeType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Employee type of this employee.",
            "enum": [
              "officer",
              "owner",
              "regular",
              "statutory"
            ],
            "x-daapi-open-enum": true
          },
          "employmentStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Employment status of this employee.",
            "enum": [
              "part_time",
              "full_time"
            ],
            "x-daapi-open-enum": true
          },
          "overtimeExemptStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Overtime exempt status of this employee.",
            "enum": [
              "exempt",
              "non_exempt"
            ],
            "x-daapi-open-enum": true
          },
          "keyEmployeeStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Key employee status of this employee.",
            "enum": [
              "key_employee",
              "non_key_employee"
            ],
            "x-daapi-open-enum": true
          },
          "gender": {
            "type": [
              "string",
              "null"
            ],
            "description": "Gender of this employee.",
            "enum": [
              "male",
              "female"
            ],
            "x-daapi-open-enum": true
          },
          "hiredDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Hired date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "originalHireDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Original hire date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "adjustedServiceDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Adjusted service date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "terminationDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Termination date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "birthDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Birth date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usCitizenshipStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Us citizenship status of this employee.",
            "enum": [
              "citizen",
              "non_citizen"
            ],
            "x-daapi-open-enum": true
          },
          "ethnicity": {
            "type": [
              "string",
              "null"
            ],
            "description": "Ethnicity of this employee.",
            "enum": [
              "american_indian",
              "asian",
              "black",
              "hawaiian",
              "hispanic",
              "white",
              "two_or_more_races"
            ],
            "x-daapi-open-enum": true
          },
          "disabilityStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Disability status of this employee.",
            "enum": [
              "disabled",
              "non_disabled"
            ],
            "x-daapi-open-enum": true
          },
          "disabilityDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Disability description of this employee."
          },
          "i9OnFileStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "I9 on file status of this employee.",
            "enum": [
              "on_file",
              "not_on_file"
            ],
            "x-daapi-open-enum": true
          },
          "workAuthorizationExpirationDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Work authorization expiration date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usVeteranStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Us veteran status of this employee.",
            "enum": [
              "veteran",
              "non_veteran"
            ],
            "x-daapi-open-enum": true
          },
          "militaryStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Military status of this employee.",
            "enum": [
              "active",
              "reserve"
            ],
            "x-daapi-open-enum": true
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account number for this employee."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this employee."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNote"
            },
            "description": "Additional notes entries for this employee."
          },
          "billingRate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The billing rate for this employee."
          },
          "employeePayroll": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdEmployeePayroll"
              },
              {
                "type": "null"
              }
            ],
            "description": "Employee payroll details for this employee."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this employee, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this employee."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "salutation",
          "firstName",
          "middleName",
          "lastName",
          "jobTitle",
          "supervisor",
          "department",
          "description",
          "targetBonus",
          "address",
          "printAs",
          "phone",
          "mobile",
          "pager",
          "pagerPin",
          "alternatePhone",
          "fax",
          "ssn",
          "email",
          "customContactFields",
          "emergencyContact",
          "employeeType",
          "employmentStatus",
          "overtimeExemptStatus",
          "keyEmployeeStatus",
          "gender",
          "hiredDate",
          "originalHireDate",
          "adjustedServiceDate",
          "terminationDate",
          "birthDate",
          "usCitizenshipStatus",
          "ethnicity",
          "disabilityStatus",
          "disabilityDescription",
          "i9OnFileStatus",
          "workAuthorizationExpirationDate",
          "usVeteranStatus",
          "militaryStatus",
          "accountNumber",
          "note",
          "additionalNotes",
          "billingRate",
          "employeePayroll",
          "externalId",
          "customFields"
        ],
        "description": "Employee as stored in QuickBooks Desktop."
      },
      "QbdEmployeeAddress": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line."
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or locality."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State, province or region."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          }
        },
        "required": [
          "line1",
          "line2",
          "city",
          "state",
          "postalCode"
        ],
        "description": "Employee address as stored in QuickBooks Desktop."
      },
      "QbdEmergencyContact": {
        "type": "object",
        "properties": {
          "primaryContact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdPrimaryContact"
              },
              {
                "type": "null"
              }
            ],
            "description": "Primary contact details for this emergency contacts."
          },
          "secondaryContact": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSecondaryContact"
              },
              {
                "type": "null"
              }
            ],
            "description": "Secondary contact details for this emergency contacts."
          }
        },
        "required": [
          "primaryContact",
          "secondaryContact"
        ],
        "description": "Emergency contacts as stored in QuickBooks Desktop."
      },
      "QbdPrimaryContact": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this primary contact, unique within its parent level."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Value."
          },
          "relation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Relation of this primary contact.",
            "enum": [
              "spouse",
              "partner",
              "mother",
              "father",
              "sister",
              "brother",
              "son",
              "daughter",
              "friend",
              "other"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "name",
          "value",
          "relation"
        ],
        "description": "Primary contact as stored in QuickBooks Desktop."
      },
      "QbdSecondaryContact": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this secondary contact, unique within its parent level."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Value."
          },
          "relation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Relation of this secondary contact.",
            "enum": [
              "spouse",
              "partner",
              "mother",
              "father",
              "sister",
              "brother",
              "son",
              "daughter",
              "friend",
              "other"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "name",
          "value",
          "relation"
        ],
        "description": "Secondary contact as stored in QuickBooks Desktop."
      },
      "QbdEmployeePayroll": {
        "type": "object",
        "properties": {
          "payPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Pay period of this employee payroll info.",
            "enum": [
              "daily",
              "weekly",
              "biweekly",
              "semimonthly",
              "monthly",
              "quarterly",
              "yearly"
            ],
            "x-daapi-open-enum": true
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this employee payroll info."
          },
          "deleteAllEarnings": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Delete all earnings of this employee payroll info."
          },
          "earnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEarning"
            },
            "description": "Earnings entries for this employee payroll info."
          },
          "useTimeDataToCreatePaychecks": {
            "type": [
              "string",
              "null"
            ],
            "description": "Use time data to create paychecks of this employee payroll info.",
            "enum": [
              "not_set",
              "uses_time_data",
              "does_not_use_time_data"
            ],
            "x-daapi-open-enum": true
          },
          "sickHours": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSickHour"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sick hours details for this employee payroll info."
          },
          "vacationHours": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdVacationHour"
              },
              {
                "type": "null"
              }
            ],
            "description": "Vacation hours details for this employee payroll info."
          }
        },
        "required": [
          "payPeriod",
          "class",
          "deleteAllEarnings",
          "earnings",
          "useTimeDataToCreatePaychecks",
          "sickHours",
          "vacationHours"
        ],
        "description": "Employee payroll info as stored in QuickBooks Desktop."
      },
      "QbdEarning": {
        "type": "object",
        "properties": {
          "payrollWageItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payroll wage item for this earnings."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "payrollWageItem",
          "rate",
          "ratePercent"
        ],
        "description": "Earnings as stored in QuickBooks Desktop."
      },
      "QbdSickHour": {
        "type": "object",
        "properties": {
          "hoursAvailable": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours available of this sick hours."
          },
          "accrualPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Accrual period of this sick hours.",
            "enum": [
              "accrues_annually",
              "accrues_hourly",
              "accrues_per_paycheck"
            ],
            "x-daapi-open-enum": true
          },
          "hoursAccruedPerPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours accrued per period of this sick hours."
          },
          "maximumHours": {
            "type": [
              "string",
              "null"
            ],
            "description": "Maximum hours of this sick hours."
          },
          "resetsHoursEachYear": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether resets hours each year."
          },
          "hoursUsed": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours used of this sick hours."
          },
          "accrualStartDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Accrual start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "required": [
          "hoursAvailable",
          "accrualPeriod",
          "hoursAccruedPerPeriod",
          "maximumHours",
          "resetsHoursEachYear",
          "hoursUsed",
          "accrualStartDate"
        ],
        "description": "Sick hours as stored in QuickBooks Desktop."
      },
      "QbdVacationHour": {
        "type": "object",
        "properties": {
          "hoursAvailable": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours available of this vacation hours."
          },
          "accrualPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Accrual period of this vacation hours.",
            "enum": [
              "accrues_annually",
              "accrues_hourly",
              "accrues_per_paycheck"
            ],
            "x-daapi-open-enum": true
          },
          "hoursAccruedPerPeriod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours accrued per period of this vacation hours."
          },
          "maximumHours": {
            "type": [
              "string",
              "null"
            ],
            "description": "Maximum hours of this vacation hours."
          },
          "resetsHoursEachYear": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether resets hours each year."
          },
          "hoursUsed": {
            "type": [
              "string",
              "null"
            ],
            "description": "Hours used of this vacation hours."
          },
          "accrualStartDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Accrual start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "required": [
          "hoursAvailable",
          "accrualPeriod",
          "hoursAccruedPerPeriod",
          "maximumHours",
          "resetsHoursEachYear",
          "hoursUsed",
          "accrualStartDate"
        ],
        "description": "Vacation hours as stored in QuickBooks Desktop."
      },
      "QbdEmployeeCreateInput": {
        "type": "object",
        "properties": {
          "isActive": {
            "type": "boolean",
            "description": "Whether this employee is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "salutation": {
            "type": "string",
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": "string",
            "maxLength": 5,
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": "string",
            "maxLength": 25,
            "description": "Last name."
          },
          "jobTitle": {
            "type": "string",
            "maxLength": 41,
            "description": "Job title."
          },
          "supervisorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the supervisor for this employee.",
            "example": "80000001-1234567890"
          },
          "department": {
            "type": "string",
            "maxLength": 31,
            "description": "Department of this employee."
          },
          "description": {
            "type": "string",
            "maxLength": 64,
            "description": "Description of this employee."
          },
          "targetBonus": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Target bonus of this employee. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "address": {
            "$ref": "#/components/schemas/QbdEmployeeAddressCreateInput"
          },
          "printAs": {
            "type": "string",
            "maxLength": 41,
            "description": "Print as of this employee."
          },
          "phone": {
            "type": "string",
            "maxLength": 21,
            "description": "Main phone number."
          },
          "mobile": {
            "type": "string",
            "maxLength": 21,
            "description": "Mobile of this employee."
          },
          "pager": {
            "type": "string",
            "maxLength": 21,
            "description": "Pager of this employee."
          },
          "pagerPin": {
            "type": "string",
            "maxLength": 10,
            "description": "Pager pin of this employee."
          },
          "alternatePhone": {
            "type": "string",
            "maxLength": 21,
            "description": "Alternate phone number."
          },
          "fax": {
            "type": "string",
            "maxLength": 21,
            "description": "Fax number."
          },
          "ssn": {
            "type": "string",
            "maxLength": 15,
            "description": "Ssn of this employee."
          },
          "email": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this employee."
          },
          "emergencyContact": {
            "$ref": "#/components/schemas/QbdEmergencyContactInput"
          },
          "employeeType": {
            "type": "string",
            "enum": [
              "officer",
              "owner",
              "regular",
              "statutory"
            ],
            "description": "Employee type of this employee."
          },
          "employmentStatus": {
            "type": "string",
            "enum": [
              "part_time",
              "full_time"
            ],
            "description": "Employment status of this employee."
          },
          "overtimeExemptStatus": {
            "type": "string",
            "enum": [
              "exempt",
              "non_exempt"
            ],
            "description": "Overtime exempt status of this employee."
          },
          "keyEmployeeStatus": {
            "type": "string",
            "enum": [
              "key_employee",
              "non_key_employee"
            ],
            "description": "Key employee status of this employee."
          },
          "gender": {
            "type": "string",
            "enum": [
              "male",
              "female"
            ],
            "description": "Gender of this employee."
          },
          "hiredDate": {
            "type": "string",
            "format": "date",
            "description": "Hired date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "originalHireDate": {
            "type": "string",
            "format": "date",
            "description": "Original hire date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "adjustedServiceDate": {
            "type": "string",
            "format": "date",
            "description": "Adjusted service date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "terminationDate": {
            "type": "string",
            "format": "date",
            "description": "Termination date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "description": "Birth date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usCitizenshipStatus": {
            "type": "string",
            "enum": [
              "citizen",
              "non_citizen"
            ],
            "description": "Us citizenship status of this employee."
          },
          "ethnicity": {
            "type": "string",
            "enum": [
              "american_indian",
              "asian",
              "black",
              "hawaiian",
              "hispanic",
              "white",
              "two_or_more_races"
            ],
            "description": "Ethnicity of this employee."
          },
          "disabilityStatus": {
            "type": "string",
            "enum": [
              "disabled",
              "non_disabled"
            ],
            "description": "Disability status of this employee."
          },
          "disabilityDescription": {
            "type": "string",
            "maxLength": 25,
            "description": "Disability description of this employee."
          },
          "i9OnFileStatus": {
            "type": "string",
            "enum": [
              "on_file",
              "not_on_file"
            ],
            "description": "I9 on file status of this employee."
          },
          "workAuthorizationExpirationDate": {
            "type": "string",
            "format": "date",
            "description": "Work authorization expiration date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usVeteranStatus": {
            "type": "string",
            "enum": [
              "veteran",
              "non_veteran"
            ],
            "description": "Us veteran status of this employee."
          },
          "militaryStatus": {
            "type": "string",
            "enum": [
              "active",
              "reserve"
            ],
            "description": "Military status of this employee."
          },
          "accountNumber": {
            "type": "string",
            "maxLength": 99,
            "description": "Account number for this employee."
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this employee."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteCreateInput"
            },
            "description": "Additional notes entries for this employee."
          },
          "billingRateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the billing rate for this employee.",
            "example": "80000001-1234567890"
          },
          "employeePayroll": {
            "$ref": "#/components/schemas/QbdEmployeePayrollInput"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this employee, stored by QuickBooks so you can match records with your system."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an employee."
      },
      "QbdEmployeeAddressCreateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "maxLength": 41,
            "description": "First address line."
          },
          "line2": {
            "type": "string",
            "maxLength": 41,
            "description": "Second address line."
          },
          "city": {
            "type": "string",
            "maxLength": 31,
            "description": "City or locality."
          },
          "state": {
            "type": "string",
            "maxLength": 21,
            "description": "State, province or region."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 13,
            "description": "Postal or ZIP code."
          }
        },
        "additionalProperties": false,
        "description": "Address details for this employee."
      },
      "QbdEmergencyContactInput": {
        "type": "object",
        "properties": {
          "primaryContact": {
            "$ref": "#/components/schemas/QbdPrimaryContactInput"
          },
          "secondaryContact": {
            "$ref": "#/components/schemas/QbdSecondaryContactInput"
          }
        },
        "additionalProperties": false,
        "description": "Emergency contact details for this employee."
      },
      "QbdPrimaryContactInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 40,
            "description": "Name of this primary contact, unique within its parent level."
          },
          "value": {
            "type": "string",
            "maxLength": 255,
            "description": "Value."
          },
          "relation": {
            "type": "string",
            "enum": [
              "spouse",
              "partner",
              "mother",
              "father",
              "sister",
              "brother",
              "son",
              "daughter",
              "friend",
              "other"
            ],
            "description": "Relation of this primary contact."
          }
        },
        "required": [
          "name",
          "value"
        ],
        "additionalProperties": false,
        "description": "Primary contact details for this emergency contacts."
      },
      "QbdSecondaryContactInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 40,
            "description": "Name of this secondary contact, unique within its parent level."
          },
          "value": {
            "type": "string",
            "maxLength": 255,
            "description": "Value."
          },
          "relation": {
            "type": "string",
            "enum": [
              "spouse",
              "partner",
              "mother",
              "father",
              "sister",
              "brother",
              "son",
              "daughter",
              "friend",
              "other"
            ],
            "description": "Relation of this secondary contact."
          }
        },
        "required": [
          "name",
          "value"
        ],
        "additionalProperties": false,
        "description": "Secondary contact details for this emergency contacts."
      },
      "QbdEmployeePayrollInput": {
        "type": "object",
        "properties": {
          "payPeriod": {
            "type": "string",
            "enum": [
              "daily",
              "weekly",
              "biweekly",
              "semimonthly",
              "monthly",
              "quarterly",
              "yearly"
            ],
            "description": "Pay period of this employee payroll info."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this employee payroll info.",
            "example": "80000001-1234567890"
          },
          "deleteAllEarnings": {
            "type": "boolean",
            "description": "Delete all earnings of this employee payroll info. Cannot be combined with earnings."
          },
          "earnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEarningInput"
            },
            "description": "Earnings entries for this employee payroll info. Cannot be combined with deleteAllEarnings."
          },
          "useTimeDataToCreatePaychecks": {
            "type": "string",
            "enum": [
              "not_set",
              "uses_time_data",
              "does_not_use_time_data"
            ],
            "description": "Use time data to create paychecks of this employee payroll info."
          },
          "sickHours": {
            "$ref": "#/components/schemas/QbdSickHourInput"
          },
          "vacationHours": {
            "$ref": "#/components/schemas/QbdVacationHourInput"
          }
        },
        "additionalProperties": false,
        "description": "Employee payroll details for this employee."
      },
      "QbdEarningInput": {
        "type": "object",
        "properties": {
          "payrollWageItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payroll wage item for this earnings.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate.",
            "example": "7.5"
          }
        },
        "required": [
          "payrollWageItemId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an earnings."
      },
      "QbdSickHourInput": {
        "type": "object",
        "properties": {
          "hoursAvailable": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours available of this sick hours.",
            "example": "PT1H30M"
          },
          "accrualPeriod": {
            "type": "string",
            "enum": [
              "accrues_annually",
              "accrues_hourly",
              "accrues_per_paycheck"
            ],
            "description": "Accrual period of this sick hours."
          },
          "hoursAccruedPerPeriod": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours accrued per period of this sick hours.",
            "example": "PT1H30M"
          },
          "maximumHours": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Maximum hours of this sick hours.",
            "example": "PT1H30M"
          },
          "resetsHoursEachYear": {
            "type": "boolean",
            "description": "Whether resets hours each year."
          },
          "hoursUsed": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours used of this sick hours.",
            "example": "PT1H30M"
          },
          "accrualStartDate": {
            "type": "string",
            "format": "date",
            "description": "Accrual start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "additionalProperties": false,
        "description": "Sick hours details for this employee payroll info."
      },
      "QbdVacationHourInput": {
        "type": "object",
        "properties": {
          "hoursAvailable": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours available of this vacation hours.",
            "example": "PT1H30M"
          },
          "accrualPeriod": {
            "type": "string",
            "enum": [
              "accrues_annually",
              "accrues_hourly",
              "accrues_per_paycheck"
            ],
            "description": "Accrual period of this vacation hours."
          },
          "hoursAccruedPerPeriod": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours accrued per period of this vacation hours.",
            "example": "PT1H30M"
          },
          "maximumHours": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Maximum hours of this vacation hours.",
            "example": "PT1H30M"
          },
          "resetsHoursEachYear": {
            "type": "boolean",
            "description": "Whether resets hours each year."
          },
          "hoursUsed": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Hours used of this vacation hours.",
            "example": "PT1H30M"
          },
          "accrualStartDate": {
            "type": "string",
            "format": "date",
            "description": "Accrual start date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "additionalProperties": false,
        "description": "Vacation hours details for this employee payroll info."
      },
      "QbdEmployeeUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this employee. Send it unchanged when updating; a stale value is rejected."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this employee is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr.",
            "x-daapi-clearable": true
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "First name.",
            "x-daapi-clearable": true
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Middle name or initial.",
            "x-daapi-clearable": true
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Last name.",
            "x-daapi-clearable": true
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Job title.",
            "x-daapi-clearable": true
          },
          "supervisorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the supervisor for this employee.",
            "example": "80000001-1234567890"
          },
          "department": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Department of this employee.",
            "x-daapi-clearable": true
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 64,
            "description": "Description of this employee.",
            "x-daapi-clearable": true
          },
          "targetBonus": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Target bonus of this employee. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "address": {
            "$ref": "#/components/schemas/QbdEmployeeAddressUpdateInput"
          },
          "printAs": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Print as of this employee.",
            "x-daapi-clearable": true
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Main phone number.",
            "x-daapi-clearable": true
          },
          "mobile": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Mobile of this employee.",
            "x-daapi-clearable": true
          },
          "pager": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Pager of this employee.",
            "x-daapi-clearable": true
          },
          "pagerPin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 10,
            "description": "Pager pin of this employee.",
            "x-daapi-clearable": true
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Alternate phone number.",
            "x-daapi-clearable": true
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Fax number.",
            "x-daapi-clearable": true
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address.",
            "x-daapi-clearable": true
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this employee."
          },
          "emergencyContact": {
            "$ref": "#/components/schemas/QbdEmergencyContactInput"
          },
          "employeeType": {
            "type": "string",
            "enum": [
              "officer",
              "owner",
              "regular",
              "statutory"
            ],
            "description": "Employee type of this employee."
          },
          "employmentStatus": {
            "type": "string",
            "enum": [
              "part_time",
              "full_time"
            ],
            "description": "Employment status of this employee."
          },
          "overtimeExemptStatus": {
            "type": "string",
            "enum": [
              "exempt",
              "non_exempt"
            ],
            "description": "Overtime exempt status of this employee."
          },
          "keyEmployeeStatus": {
            "type": "string",
            "enum": [
              "key_employee",
              "non_key_employee"
            ],
            "description": "Key employee status of this employee."
          },
          "hiredDate": {
            "type": "string",
            "format": "date",
            "description": "Hired date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "originalHireDate": {
            "type": "string",
            "format": "date",
            "description": "Original hire date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "adjustedServiceDate": {
            "type": "string",
            "format": "date",
            "description": "Adjusted service date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "terminationDate": {
            "type": "string",
            "format": "date",
            "description": "Termination date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "description": "Birth date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usCitizenshipStatus": {
            "type": "string",
            "enum": [
              "citizen",
              "non_citizen"
            ],
            "description": "Us citizenship status of this employee."
          },
          "ethnicity": {
            "type": "string",
            "enum": [
              "american_indian",
              "asian",
              "black",
              "hawaiian",
              "hispanic",
              "white",
              "two_or_more_races"
            ],
            "description": "Ethnicity of this employee."
          },
          "disabilityStatus": {
            "type": "string",
            "enum": [
              "disabled",
              "non_disabled"
            ],
            "description": "Disability status of this employee."
          },
          "disabilityDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Disability description of this employee.",
            "x-daapi-clearable": true
          },
          "i9OnFileStatus": {
            "type": "string",
            "enum": [
              "on_file",
              "not_on_file"
            ],
            "description": "I9 on file status of this employee."
          },
          "workAuthorizationExpirationDate": {
            "type": "string",
            "format": "date",
            "description": "Work authorization expiration date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "usVeteranStatus": {
            "type": "string",
            "enum": [
              "veteran",
              "non_veteran"
            ],
            "description": "Us veteran status of this employee."
          },
          "militaryStatus": {
            "type": "string",
            "enum": [
              "active",
              "reserve"
            ],
            "description": "Military status of this employee."
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Account number for this employee.",
            "x-daapi-clearable": true
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Note for this employee.",
            "x-daapi-clearable": true
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteUpdateInput"
            },
            "description": "Additional notes entries for this employee."
          },
          "billingRateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the billing rate for this employee.",
            "example": "80000001-1234567890"
          },
          "employeePayroll": {
            "$ref": "#/components/schemas/QbdEmployeePayrollInput"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an employee."
      },
      "QbdEmployeeAddressUpdateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "First address line.",
            "x-daapi-clearable": true
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Second address line.",
            "x-daapi-clearable": true
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "City or locality.",
            "x-daapi-clearable": true
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "State, province or region.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Address details for this employee."
      },
      "QbdEstimateList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/estimates"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimate"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdEstimate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this estimate."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_estimate"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this estimate was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this estimate was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this estimate. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this estimate."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this estimate."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this estimate."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this estimate (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this estimate, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this estimate."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this estimate."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this estimate is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase order number of this estimate."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this estimate."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this estimate is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this estimate."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this estimate."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total of all lines before sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this estimate."
          },
          "salesTaxPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax rate applied, as a percentage. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "salesTaxTotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this estimate as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this estimate."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this estimate's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this estimate. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this estimate; shown in reports, not on printed forms."
          },
          "customerMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer message for this estimate."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this estimate is in the queue of forms to email."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this estimate."
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other\" text field on this estimate."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this estimate, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this estimate, such as payments applied to it."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLine"
            },
            "description": "Line items of this estimate."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineGroup"
            },
            "description": "Group lines of this estimate: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this estimate."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "class",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "billingAddress",
          "shippingAddress",
          "isActive",
          "purchaseOrderNumber",
          "terms",
          "dueDate",
          "salesRepresentative",
          "shipmentOrigin",
          "subtotal",
          "salesTaxItem",
          "salesTaxPercentage",
          "salesTaxTotal",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "memo",
          "customerMessage",
          "isQueuedForEmail",
          "salesTaxCode",
          "otherCustomField",
          "externalId",
          "linkedTransactions",
          "lines",
          "lineGroups",
          "customFields"
        ],
        "description": "Estimate as stored in QuickBooks Desktop."
      },
      "QbdEstimateLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this estimate line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_estimate_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this estimate line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this estimate line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this estimate line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this estimate line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this estimate line."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this estimate line."
          },
          "markupRate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Markup rate of this estimate line. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "markupRatePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Markup rate percent of this estimate line. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this estimate line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this estimate line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this estimate line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "ratePercent",
          "class",
          "amount",
          "inventorySite",
          "inventorySiteLocation",
          "salesTaxCode",
          "markupRate",
          "markupRatePercent",
          "otherCustomField1",
          "otherCustomField2",
          "customFields"
        ],
        "description": "Estimate line as stored in QuickBooks Desktop."
      },
      "QbdEstimateLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this estimate line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_estimate_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this estimate line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this estimate line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this estimate line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLine"
            },
            "description": "Line items of this estimate line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this estimate line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Estimate line group as stored in QuickBooks Desktop."
      },
      "QbdEstimateCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this estimate.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this estimate.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this estimate.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this estimate (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this estimate, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this estimate."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this estimate."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this estimate is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "purchaseOrderNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Purchase order number of this estimate."
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this estimate.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this estimate is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this estimate.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this estimate."
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this estimate.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this estimate; shown in reports, not on printed forms."
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this estimate.",
            "example": "80000001-1234567890"
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this estimate is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this estimate.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this estimate."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this estimate's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this estimate, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineCreateInput"
            },
            "description": "Line items of this estimate."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineGroupCreateInput"
            },
            "description": "Group lines of this estimate: each expands an item group into its component lines."
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an estimate. Requires at least one of: lines or lineGroups."
      },
      "QbdEstimateLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this estimate line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this estimate line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate.",
            "example": "7.5"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this estimate line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this estimate line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this estimate line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this estimate line.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this estimate line.",
            "example": "80000001-1234567890"
          },
          "markupRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Markup rate of this estimate line. Decimal string with up to 5 decimal places. Cannot be combined with markupRatePercent, priceLevelId.",
            "example": "19.99"
          },
          "markupRatePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Markup rate percent of this estimate line. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with markupRate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this estimate line. Cannot be combined with markupRate, markupRatePercent.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this estimate line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this estimate line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this estimate line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this estimate line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an estimate line."
      },
      "QbdEstimateLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this estimate line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this estimate line group.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this estimate line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this estimate line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an estimate line group."
      },
      "QbdEstimateUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this estimate. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this estimate.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this estimate.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this estimate.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this estimate (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this estimate, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this estimate."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this estimate."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this estimate is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "createChangeOrder": {
            "type": "boolean",
            "description": "Create change order of this estimate."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Purchase order number of this estimate.",
            "x-daapi-clearable": true
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this estimate.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this estimate is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this estimate.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this estimate.",
            "x-daapi-clearable": true
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this estimate.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this estimate; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this estimate.",
            "example": "80000001-1234567890"
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this estimate is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this estimate.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this estimate.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this estimate's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineUpdateInput"
            },
            "description": "Line items of this estimate. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the estimate first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the estimate keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineGroupUpdateInput"
            },
            "description": "Group lines of this estimate: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the estimate first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the estimate keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an estimate."
      },
      "QbdEstimateLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this estimate line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this estimate line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this estimate line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this estimate line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate.",
            "example": "7.5"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this estimate line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this estimate line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this estimate line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this estimate line.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this estimate line.",
            "example": "80000001-1234567890"
          },
          "markupRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Markup rate of this estimate line. Decimal string with up to 5 decimal places. Cannot be combined with markupRatePercent, priceLevelId.",
            "example": "19.99"
          },
          "markupRatePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Markup rate percent of this estimate line. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with markupRate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this estimate line. Cannot be combined with markupRate, markupRatePercent.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this estimate line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this estimate line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an estimate line."
      },
      "QbdEstimateLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this estimate line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this estimate line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this estimate line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdEstimateLineUpdateInput"
            },
            "description": "Line items of this estimate line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an estimate line group."
      },
      "QbdEstimateDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_estimate"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdInventoryAdjustmentList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/inventory-adjustments"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryAdjustment"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdInventoryAdjustment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this inventory adjustment."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_adjustment"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory adjustment was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory adjustment was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this inventory adjustment. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this inventory adjustment."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this inventory adjustment."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this inventory adjustment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this inventory adjustment, such as an invoice or check number. Case-sensitive."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this inventory adjustment."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this inventory adjustment."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this inventory adjustment; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this inventory adjustment, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryAdjustmentLine"
            },
            "description": "Line items of this inventory adjustment."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this inventory adjustment."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "account",
          "inventorySite",
          "transactionDate",
          "refNumber",
          "customer",
          "class",
          "memo",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Inventory adjustment as stored in QuickBooks Desktop."
      },
      "QbdInventoryAdjustmentLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this inventory adjustment line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_adjustment_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this inventory adjustment line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this inventory adjustment line."
          },
          "serialNumberAction": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number action of this inventory adjustment line.",
            "enum": [
              "added",
              "removed"
            ],
            "x-daapi-open-enum": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this inventory adjustment line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this inventory adjustment line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this inventory adjustment line."
          },
          "quantityDifference": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity difference of this inventory adjustment line."
          },
          "valueDifference": {
            "type": [
              "number",
              "null"
            ],
            "description": "Value difference of this inventory adjustment line. A number with up to 2 decimal places."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "serialNumber",
          "serialNumberAction",
          "lotNumber",
          "expirationDate",
          "inventorySiteLocation",
          "quantityDifference",
          "valueDifference"
        ],
        "description": "Inventory adjustment line as stored in QuickBooks Desktop."
      },
      "QbdInventoryAdjustmentCreateInput": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this inventory adjustment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this inventory adjustment, such as an invoice or check number. Case-sensitive."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this inventory adjustment; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this inventory adjustment, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryAdjustmentLineCreateInput"
            },
            "description": "Line items of this inventory adjustment."
          }
        },
        "required": [
          "accountId",
          "lines"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an inventory adjustment."
      },
      "QbdInventoryAdjustmentLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this inventory adjustment line.",
            "example": "80000001-1234567890"
          },
          "adjustQuantity": {
            "$ref": "#/components/schemas/QbdAdjustQuantityCreateInput"
          },
          "adjustValue": {
            "$ref": "#/components/schemas/QbdAdjustValueCreateInput"
          },
          "adjustSerialNumber": {
            "$ref": "#/components/schemas/QbdAdjustSerialNumberCreateInput"
          },
          "adjustLotNumber": {
            "$ref": "#/components/schemas/QbdAdjustLotNumberCreateInput"
          }
        },
        "required": [
          "itemId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an inventory adjustment line. Requires at least one of: adjustQuantity or adjustValue or adjustSerialNumber or adjustLotNumber."
      },
      "QbdAdjustQuantityCreateInput": {
        "type": "object",
        "properties": {
          "newQuantity": {
            "type": "number",
            "description": "New quantity of this quantity adjustment. Cannot be combined with quantityDifference."
          },
          "quantityDifference": {
            "type": "number",
            "description": "Quantity difference of this quantity adjustment. Cannot be combined with newQuantity."
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this quantity adjustment. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this quantity adjustment. Cannot be combined with serialNumber."
          },
          "expirationDate": {
            "type": "string",
            "maxLength": 1099,
            "description": "Expiration date of this quantity adjustment.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this quantity adjustment.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Adjust quantity details for this inventory adjustment line. Cannot be combined with adjustValue, adjustSerialNumber, adjustLotNumber."
      },
      "QbdAdjustValueCreateInput": {
        "type": "object",
        "properties": {
          "newQuantity": {
            "type": "number",
            "description": "New quantity of this value adjustment. Cannot be combined with quantityDifference."
          },
          "quantityDifference": {
            "type": "number",
            "description": "Quantity difference of this value adjustment. Cannot be combined with newQuantity."
          },
          "newValue": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "New value of this value adjustment. Decimal string with up to 2 decimal places. Cannot be combined with valueDifference.",
            "example": "1250.00"
          },
          "valueDifference": {
            "type": "number",
            "description": "Value difference of this value adjustment. A number with up to 2 decimal places. Cannot be combined with newValue.",
            "example": 125.5
          }
        },
        "additionalProperties": false,
        "description": "Adjust value details for this inventory adjustment line. Cannot be combined with adjustQuantity, adjustSerialNumber, adjustLotNumber."
      },
      "QbdAdjustSerialNumberCreateInput": {
        "type": "object",
        "properties": {
          "addSerialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Add serial number of this serial number adjustment. Cannot be combined with removeSerialNumber."
          },
          "removeSerialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Remove serial number of this serial number adjustment. Cannot be combined with addSerialNumber."
          },
          "expirationDate": {
            "type": "string",
            "maxLength": 1099,
            "description": "Expiration date of this serial number adjustment.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this serial number adjustment.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Adjust serial number details for this inventory adjustment line. Cannot be combined with adjustQuantity, adjustValue, adjustLotNumber."
      },
      "QbdAdjustLotNumberCreateInput": {
        "type": "object",
        "properties": {
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this lot number adjustment."
          },
          "adjustCount": {
            "type": "integer",
            "description": "Adjust count of this lot number adjustment."
          },
          "expirationDate": {
            "type": "string",
            "maxLength": 1099,
            "description": "Expiration date of this lot number adjustment.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this lot number adjustment.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Adjust lot number details for this inventory adjustment line. Cannot be combined with adjustQuantity, adjustValue, adjustSerialNumber."
      },
      "QbdInventoryAdjustmentUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this inventory adjustment. Send it unchanged when updating; a stale value is rejected."
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this inventory adjustment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this inventory adjustment, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory adjustment.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this inventory adjustment; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryAdjustmentLineUpdateInput"
            },
            "description": "Line items of this inventory adjustment. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep the lines unchanged. An update cannot remove every line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an inventory adjustment."
      },
      "QbdInventoryAdjustmentLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this inventory adjustment line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this inventory adjustment line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this inventory adjustment line. Cannot be combined with lotNumber, adjustCount.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this inventory adjustment line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "adjustCount": {
            "type": "integer",
            "description": "Adjust count of this inventory adjustment line. Cannot be combined with serialNumber."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1099,
            "description": "Expiration date of this inventory adjustment line.",
            "x-daapi-min-qbxml-version": "16.0",
            "x-daapi-clearable": true
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this inventory adjustment line.",
            "example": "80000001-1234567890"
          },
          "quantityDifference": {
            "type": "number",
            "description": "Quantity difference of this inventory adjustment line."
          },
          "valueDifference": {
            "type": "number",
            "description": "Value difference of this inventory adjustment line. A number with up to 2 decimal places.",
            "example": 125.5
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an inventory adjustment line. Requires at least one of: serialNumber or lotNumber or adjustCount."
      },
      "QbdInventoryAdjustmentDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_adjustment"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdInventoryAdjustmentVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_adjustment"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdInventoryAssemblyItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/inventory-assembly-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryAssemblyItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdInventoryAssemblyItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this inventory assembly item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_assembly_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory assembly item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory assembly item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this inventory assembly item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this inventory assembly item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this inventory assembly item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this inventory assembly item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this inventory assembly item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this inventory assembly item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sku of this inventory assembly item."
          },
          "unitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The unit of measure set for this inventory assembly item."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this inventory assembly item."
          },
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales description of this inventory assembly item."
          },
          "salesPrice": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales price of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The income account for this inventory assembly item."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase description of this inventory assembly item."
          },
          "purchaseCost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase cost of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The cogs account for this inventory assembly item."
          },
          "preferredVendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The preferred vendor for this inventory assembly item."
          },
          "assetAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The asset account for this inventory assembly item."
          },
          "buildNotificationThreshold": {
            "type": [
              "number",
              "null"
            ],
            "description": "Build notification threshold of this inventory assembly item."
          },
          "maximumQuantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum quantity on hand of this inventory assembly item."
          },
          "quantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on hand of this inventory assembly item."
          },
          "averageCost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Average cost of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "quantityOnPurchaseOrder": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on purchase order of this inventory assembly item."
          },
          "quantityOnSalesOrder": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on sales order of this inventory assembly item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this inventory assembly item, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemInventoryAssemblyLine"
            },
            "description": "Line items of this inventory assembly item."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this inventory assembly item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "sku",
          "unitOfMeasureSet",
          "salesTaxCode",
          "salesDescription",
          "salesPrice",
          "incomeAccount",
          "purchaseDescription",
          "purchaseCost",
          "cogsAccount",
          "preferredVendor",
          "assetAccount",
          "buildNotificationThreshold",
          "maximumQuantityOnHand",
          "quantityOnHand",
          "averageCost",
          "quantityOnPurchaseOrder",
          "quantityOnSalesOrder",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Inventory assembly item as stored in QuickBooks Desktop."
      },
      "QbdItemInventoryAssemblyLine": {
        "type": "object",
        "properties": {
          "inventoryItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory item for this item inventory assembly line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          }
        },
        "required": [
          "inventoryItem",
          "quantity"
        ],
        "description": "Item inventory assembly line as stored in QuickBooks Desktop."
      },
      "QbdInventoryAssemblyItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory assembly item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this inventory assembly item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory assembly item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory assembly item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": "string",
            "maxLength": 31,
            "description": "Sku of this inventory assembly item."
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "salesDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Sales description of this inventory assembly item."
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "purchaseDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Purchase description of this inventory assembly item."
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the cogs account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "assetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the asset account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "buildNotificationThreshold": {
            "type": "number",
            "description": "Build notification threshold of this inventory assembly item."
          },
          "maximumQuantityOnHand": {
            "type": "number",
            "description": "Maximum quantity on hand of this inventory assembly item."
          },
          "quantityOnHand": {
            "type": "number",
            "description": "Quantity on hand of this inventory assembly item."
          },
          "totalValue": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total value of this inventory assembly item. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "inventoryDate": {
            "type": "string",
            "format": "date",
            "description": "Inventory date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this inventory assembly item, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLineInput"
            },
            "description": "Line items of this inventory assembly item."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an inventory assembly item."
      },
      "QbdLineInput": {
        "type": "object",
        "properties": {
          "inventoryItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory item for this item inventory assembly line.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          }
        },
        "required": [
          "inventoryItemId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an item inventory assembly line."
      },
      "QbdInventoryAssemblyItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this inventory assembly item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory assembly item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this inventory assembly item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory assembly item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory assembly item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Sku of this inventory assembly item.",
            "x-daapi-clearable": true
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "forceUnitOfMeasureChange": {
            "type": "boolean",
            "description": "Force unit of measure change of this inventory assembly item."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Sales description of this inventory assembly item.",
            "x-daapi-clearable": true
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsIncomeAccount": {
            "type": "boolean",
            "description": "Update existing transactions income account of this inventory assembly item."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Purchase description of this inventory assembly item.",
            "x-daapi-clearable": true
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this inventory assembly item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the cogs account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "assetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the asset account for this inventory assembly item.",
            "example": "80000001-1234567890"
          },
          "buildNotificationThreshold": {
            "type": "number",
            "description": "Build notification threshold of this inventory assembly item."
          },
          "maximumQuantityOnHand": {
            "type": "number",
            "description": "Maximum quantity on hand of this inventory assembly item."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this inventory assembly item. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged. Cannot be combined with lines."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLineInput"
            },
            "description": "Line items of this inventory assembly item. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged. Cannot be combined with clearItemLines."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an inventory assembly item."
      },
      "QbdInventoryItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/inventory-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventoryItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdInventoryItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this inventory item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this inventory item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this inventory item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this inventory item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this inventory item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this inventory item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sku of this inventory item."
          },
          "unitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The unit of measure set for this inventory item."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this inventory item."
          },
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales description of this inventory item."
          },
          "salesPrice": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales price of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The income account for this inventory item."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase description of this inventory item."
          },
          "purchaseCost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase cost of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The cogs account for this inventory item."
          },
          "preferredVendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The preferred vendor for this inventory item."
          },
          "assetAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The asset account for this inventory item."
          },
          "reorderPoint": {
            "type": [
              "number",
              "null"
            ],
            "description": "Reorder point of this inventory item."
          },
          "maximumQuantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum quantity on hand of this inventory item."
          },
          "quantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on hand of this inventory item."
          },
          "averageCost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Average cost of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "quantityOnPurchaseOrder": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on purchase order of this inventory item."
          },
          "quantityOnSalesOrder": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on sales order of this inventory item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this inventory item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this inventory item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "sku",
          "unitOfMeasureSet",
          "salesTaxCode",
          "salesDescription",
          "salesPrice",
          "incomeAccount",
          "purchaseDescription",
          "purchaseCost",
          "cogsAccount",
          "preferredVendor",
          "assetAccount",
          "reorderPoint",
          "maximumQuantityOnHand",
          "quantityOnHand",
          "averageCost",
          "quantityOnPurchaseOrder",
          "quantityOnSalesOrder",
          "externalId",
          "customFields"
        ],
        "description": "Inventory item as stored in QuickBooks Desktop."
      },
      "QbdInventoryItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this inventory item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": "string",
            "maxLength": 31,
            "description": "Sku of this inventory item."
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this inventory item.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this inventory item.",
            "example": "80000001-1234567890"
          },
          "salesDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Sales description of this inventory item."
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "purchaseDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Purchase description of this inventory item."
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the cogs account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this inventory item.",
            "example": "80000001-1234567890"
          },
          "assetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the asset account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "reorderPoint": {
            "type": "number",
            "description": "Reorder point of this inventory item."
          },
          "maximumQuantityOnHand": {
            "type": "number",
            "description": "Maximum quantity on hand of this inventory item."
          },
          "quantityOnHand": {
            "type": "number",
            "description": "Quantity on hand of this inventory item."
          },
          "totalValue": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total value of this inventory item. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "inventoryDate": {
            "type": "string",
            "format": "date",
            "description": "Inventory date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this inventory item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an inventory item."
      },
      "QbdInventoryItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this inventory item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this inventory item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this inventory item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Sku of this inventory item.",
            "x-daapi-clearable": true
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this inventory item.",
            "example": "80000001-1234567890"
          },
          "forceUnitOfMeasureChange": {
            "type": "boolean",
            "description": "Force unit of measure change of this inventory item."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this inventory item.",
            "example": "80000001-1234567890"
          },
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Sales description of this inventory item.",
            "x-daapi-clearable": true
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsIncomeAccount": {
            "type": "boolean",
            "description": "Update existing transactions income account of this inventory item."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Purchase description of this inventory item.",
            "x-daapi-clearable": true
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this inventory item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "cogsAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the cogs account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsCogsAccount": {
            "type": "boolean",
            "description": "Update existing transactions cogs account of this inventory item."
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this inventory item.",
            "example": "80000001-1234567890"
          },
          "assetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the asset account for this inventory item.",
            "example": "80000001-1234567890"
          },
          "reorderPoint": {
            "type": "number",
            "description": "Reorder point of this inventory item."
          },
          "maximumQuantityOnHand": {
            "type": "number",
            "description": "Maximum quantity on hand of this inventory item."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an inventory item."
      },
      "QbdInventorySiteList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/inventory-sites"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInventorySite"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdInventorySite": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this inventory site."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_inventory_site"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory site was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this inventory site was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this inventory site. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this inventory site, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this inventory site is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "isDefault": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this inventory site is default."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this inventory site."
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the main contact person."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSiteAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this inventory site."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "parent",
          "isDefault",
          "description",
          "contact",
          "phone",
          "fax",
          "email",
          "address"
        ],
        "description": "Inventory site as stored in QuickBooks Desktop."
      },
      "QbdSiteAddress": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "description": "First address line."
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Second address line."
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "description": "Third address line."
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fourth address line."
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fifth address line."
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or locality."
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "State, province or region."
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country."
          }
        },
        "required": [
          "line1",
          "line2",
          "line3",
          "line4",
          "line5",
          "city",
          "state",
          "postalCode",
          "country"
        ],
        "description": "Site address as stored in QuickBooks Desktop."
      },
      "QbdInventorySiteCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory site, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory site is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory site a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 100,
            "description": "Description of this inventory site."
          },
          "contact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of the main contact person."
          },
          "phone": {
            "type": "string",
            "maxLength": 21,
            "description": "Main phone number."
          },
          "fax": {
            "type": "string",
            "maxLength": 21,
            "description": "Fax number."
          },
          "email": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address."
          },
          "address": {
            "$ref": "#/components/schemas/QbdSiteAddressCreateInput"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an inventory site."
      },
      "QbdSiteAddressCreateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": "string",
            "maxLength": 41,
            "description": "First address line."
          },
          "line2": {
            "type": "string",
            "maxLength": 41,
            "description": "Second address line."
          },
          "line3": {
            "type": "string",
            "maxLength": 41,
            "description": "Third address line."
          },
          "line4": {
            "type": "string",
            "maxLength": 41,
            "description": "Fourth address line."
          },
          "line5": {
            "type": "string",
            "maxLength": 41,
            "description": "Fifth address line."
          },
          "city": {
            "type": "string",
            "maxLength": 31,
            "description": "City or locality."
          },
          "state": {
            "type": "string",
            "maxLength": 21,
            "description": "State, province or region."
          },
          "postalCode": {
            "type": "string",
            "maxLength": 13,
            "description": "Postal or ZIP code."
          },
          "country": {
            "type": "string",
            "maxLength": 31,
            "description": "Country."
          }
        },
        "additionalProperties": false,
        "description": "Address details for this inventory site."
      },
      "QbdInventorySiteUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this inventory site. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this inventory site, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this inventory site is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this inventory site a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 100,
            "description": "Description of this inventory site.",
            "x-daapi-clearable": true
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of the main contact person.",
            "x-daapi-clearable": true
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Main phone number.",
            "x-daapi-clearable": true
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Fax number.",
            "x-daapi-clearable": true
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address.",
            "x-daapi-clearable": true
          },
          "address": {
            "$ref": "#/components/schemas/QbdSiteAddressUpdateInput"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an inventory site."
      },
      "QbdSiteAddressUpdateInput": {
        "type": "object",
        "properties": {
          "line1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "First address line.",
            "x-daapi-clearable": true
          },
          "line2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Second address line.",
            "x-daapi-clearable": true
          },
          "line3": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Third address line.",
            "x-daapi-clearable": true
          },
          "line4": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fourth address line.",
            "x-daapi-clearable": true
          },
          "line5": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Fifth address line.",
            "x-daapi-clearable": true
          },
          "city": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "City or locality.",
            "x-daapi-clearable": true
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "State, province or region.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Country.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Address details for this inventory site."
      },
      "QbdInvoiceList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/invoices"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoice"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdInvoice": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this invoice."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_invoice"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this invoice was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this invoice was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this invoice. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this invoice."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this invoice."
          },
          "receivablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The receivables account for this invoice."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this invoice."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this invoice (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this invoice, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this invoice."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this invoice."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this invoice is pending (not yet final) and does not post to accounts."
          },
          "isFinanceCharge": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this invoice is finance charge."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase order number of this invoice."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this invoice."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this invoice is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this invoice."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this invoice."
          },
          "shippingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the goods on this invoice were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The shipping method for this invoice."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total of all lines before sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this invoice."
          },
          "salesTaxPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax rate applied, as a percentage. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "salesTaxTotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "appliedAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount applied as a decimal string.",
            "example": "1250.00"
          },
          "balanceRemaining": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount still owed on this invoice, as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this invoice."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this invoice's currency to the home currency."
          },
          "balanceRemainingInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Balance remaining in home currency of this invoice. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this invoice; shown in reports, not on printed forms."
          },
          "isPaid": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this invoice is fully paid."
          },
          "customerMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer message for this invoice."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this invoice is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this invoice is in the queue of forms to email."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this invoice."
          },
          "suggestedDiscountAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Suggested discount amount of this invoice. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "suggestedDiscountDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Suggested discount date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other\" text field on this invoice."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this invoice, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this invoice, such as payments applied to it."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLine"
            },
            "description": "Line items of this invoice."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineGroup"
            },
            "description": "Group lines of this invoice: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this invoice."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "class",
          "receivablesAccount",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "billingAddress",
          "shippingAddress",
          "isPending",
          "isFinanceCharge",
          "purchaseOrderNumber",
          "terms",
          "dueDate",
          "salesRepresentative",
          "shipmentOrigin",
          "shippingDate",
          "shippingMethod",
          "subtotal",
          "salesTaxItem",
          "salesTaxPercentage",
          "salesTaxTotal",
          "appliedAmount",
          "balanceRemaining",
          "currency",
          "exchangeRate",
          "balanceRemainingInHomeCurrency",
          "memo",
          "isPaid",
          "customerMessage",
          "isQueuedForPrint",
          "isQueuedForEmail",
          "salesTaxCode",
          "suggestedDiscountAmount",
          "suggestedDiscountDate",
          "otherCustomField",
          "externalId",
          "linkedTransactions",
          "lines",
          "lineGroups",
          "customFields"
        ],
        "description": "Invoice as stored in QuickBooks Desktop."
      },
      "QbdInvoiceLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this invoice line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_invoice_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this invoice line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this invoice line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this invoice line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this invoice line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this invoice line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this invoice line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this invoice line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this invoice line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this invoice line."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this invoice line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this invoice line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this invoice line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "ratePercent",
          "class",
          "amount",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "serviceDate",
          "salesTaxCode",
          "otherCustomField1",
          "otherCustomField2",
          "customFields"
        ],
        "description": "Invoice line as stored in QuickBooks Desktop."
      },
      "QbdInvoiceLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this invoice line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_invoice_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this invoice line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this invoice line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this invoice line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLine"
            },
            "description": "Line items of this invoice line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this invoice line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Invoice line group as stored in QuickBooks Desktop."
      },
      "QbdInvoiceCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this invoice.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this invoice.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this invoice.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this invoice.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this invoice (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this invoice, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this invoice."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this invoice."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this invoice is pending (not yet final) and does not post to accounts."
          },
          "isFinanceCharge": {
            "type": "boolean",
            "description": "Whether this invoice is finance charge."
          },
          "purchaseOrderNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Purchase order number of this invoice."
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this invoice.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this invoice is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this invoice.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this invoice."
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this invoice were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this invoice.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this invoice.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this invoice; shown in reports, not on printed forms."
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this invoice.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this invoice is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this invoice is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this invoice.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this invoice."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this invoice's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this invoice, stored by QuickBooks so you can match records with your system."
          },
          "linkToTransactionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "IDs of existing transactions to link to this invoice, such as an estimate or purchase order it fulfills.",
              "example": "80000001-1234567890"
            },
            "description": "IDs of existing transactions to link to this invoice, such as an estimate or purchase order it fulfills."
          },
          "applyCredits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyCreditInput"
            },
            "description": "Apply credits entries for this invoice."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineCreateInput"
            },
            "description": "Line items of this invoice."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineGroupCreateInput"
            },
            "description": "Group lines of this invoice: each expands an item group into its component lines."
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an invoice."
      },
      "QbdInvoiceLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this invoice line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this invoice line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this invoice line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this invoice line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this invoice line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this invoice line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this invoice line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this invoice line. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this invoice line. Cannot be combined with serialNumber."
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this invoice line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this invoice line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this invoice line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this invoice line."
          },
          "linkToTransactionLine": {
            "$ref": "#/components/schemas/QbdLinkToTransactionLineCreateInput"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this invoice line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an invoice line."
      },
      "QbdLinkToTransactionLineCreateInput": {
        "type": "object",
        "properties": {
          "transactionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the transaction.",
            "example": "80000001-1234567890"
          },
          "transactionLineId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the transaction line.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "transactionId",
          "transactionLineId"
        ],
        "additionalProperties": false,
        "description": "Link to transaction line details for this invoice line."
      },
      "QbdInvoiceLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this invoice line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this invoice line group.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this invoice line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this invoice line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an invoice line group."
      },
      "QbdInvoiceUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this invoice. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this invoice.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this invoice.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this invoice.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this invoice.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this invoice (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this invoice, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this invoice."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this invoice."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this invoice is pending (not yet final) and does not post to accounts."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Purchase order number of this invoice.",
            "x-daapi-clearable": true
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this invoice.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this invoice is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this invoice.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this invoice.",
            "x-daapi-clearable": true
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this invoice were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this invoice.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this invoice.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this invoice; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this invoice.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this invoice is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this invoice is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this invoice.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this invoice.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this invoice's currency to the home currency."
          },
          "applyCredits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyCreditInput"
            },
            "description": "Apply credits entries for this invoice."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineUpdateInput"
            },
            "description": "Line items of this invoice. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the invoice first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the invoice keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineGroupUpdateInput"
            },
            "description": "Group lines of this invoice: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the invoice first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the invoice keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an invoice."
      },
      "QbdInvoiceLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this invoice line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this invoice line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this invoice line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this invoice line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this invoice line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this invoice line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this invoice line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this invoice line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this invoice line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this invoice line. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this invoice line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this invoice line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this invoice line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this invoice line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this invoice line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an invoice line."
      },
      "QbdInvoiceLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this invoice line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this invoice line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this invoice line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdInvoiceLineUpdateInput"
            },
            "description": "Line items of this invoice line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an invoice line group."
      },
      "QbdInvoiceDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_invoice"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdInvoiceVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_invoice"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdItemGroupList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/item-groups"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroup"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdItemGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this item group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_group"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item group was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item group was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this item group. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this item group, unique within its parent level."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this item group."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this item group is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this item group."
          },
          "unitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The unit of measure set for this item group."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "specialItemType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Special item type of this item group.",
            "enum": [
              "finance_charge",
              "reimbursable_expense_group",
              "reimbursable_expense_subtotal"
            ],
            "x-daapi-open-enum": true
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this item group, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupMemberLine"
            },
            "description": "Line items of this item group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this item group."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "barcode",
          "isActive",
          "description",
          "unitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "specialItemType",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Item group as stored in QuickBooks Desktop."
      },
      "QbdItemGroupMemberLine": {
        "type": "object",
        "properties": {
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this item group line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          }
        },
        "required": [
          "item",
          "quantity",
          "unitOfMeasure"
        ],
        "description": "Item group line as stored in QuickBooks Desktop."
      },
      "QbdItemGroupCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this item group, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this item group."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this item group is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this item group."
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this item group.",
            "example": "80000001-1234567890"
          },
          "shouldPrintItemsInGroup": {
            "type": "boolean",
            "description": "Whether to print items in group."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this item group, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupMemberLineCreateInput"
            },
            "description": "Line items of this item group."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an item group."
      },
      "QbdItemGroupMemberLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this item group line.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating an item group line."
      },
      "QbdItemGroupUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this item group. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this item group, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this item group."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this item group is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this item group.",
            "x-daapi-clearable": true
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this item group.",
            "example": "80000001-1234567890"
          },
          "forceUnitOfMeasureChange": {
            "type": "boolean",
            "description": "Force unit of measure change of this item group."
          },
          "shouldPrintItemsInGroup": {
            "type": "boolean",
            "description": "Whether to print items in group."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this item group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged. Cannot be combined with lines."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupMemberLineUpdateInput"
            },
            "description": "Line items of this item group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged. Cannot be combined with clearItemLines."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an item group."
      },
      "QbdItemGroupMemberLineUpdateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this item group line.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Fields for updating an item group line."
      },
      "QbdItemReceiptList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/item-receipts"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemReceipt"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdItemReceipt": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this item receipt."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_receipt"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item receipt was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item receipt was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this item receipt. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this item receipt."
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this item receipt."
          },
          "liabilityAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The liability account for this item receipt."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this item receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this item receipt as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this item receipt."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this item receipt's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this item receipt. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this item receipt, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this item receipt; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this item receipt, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this item receipt, such as payments applied to it."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this item receipt."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this item receipt."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this item receipt."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this item receipt."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "payablesAccount",
          "liabilityAccount",
          "transactionDate",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "refNumber",
          "memo",
          "externalId",
          "linkedTransactions",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "customFields"
        ],
        "description": "Item receipt as stored in QuickBooks Desktop."
      },
      "QbdItemReceiptCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this item receipt.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this item receipt.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this item receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 20,
            "description": "Reference number of this item receipt, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this item receipt; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this item receipt's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this item receipt, stored by QuickBooks so you can match records with your system."
          },
          "linkToTransactionIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "IDs of existing transactions to link to this item receipt, such as an estimate or purchase order it fulfills.",
              "example": "80000001-1234567890"
            },
            "description": "IDs of existing transactions to link to this item receipt, such as an estimate or purchase order it fulfills."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this item receipt."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this item receipt."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this item receipt."
          }
        },
        "required": [
          "vendorId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an item receipt."
      },
      "QbdItemReceiptUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this item receipt. Send it unchanged when updating; a stale value is rejected."
          },
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this item receipt.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this item receipt.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this item receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 20,
            "description": "Reference number of this item receipt, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this item receipt; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this item receipt's currency to the home currency."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this item receipt. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this item receipt. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the item receipt first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the item receipt keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this item receipt. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this item receipt. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the item receipt first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the item receipt keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this item receipt. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the item receipt first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the item receipt keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an item receipt."
      },
      "QbdItemReceiptDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_receipt"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdItemReceiptVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_receipt"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdItemSiteList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/item-sites"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemSite"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdItemSite": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this item site."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_item_site"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item site was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this item site was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this item site. Send it unchanged when updating; a stale value is rejected."
          },
          "inventoryAssemblyItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory assembly item for this item site."
          },
          "inventoryItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory item for this item site."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this item site."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this item site."
          },
          "reorderLevel": {
            "type": [
              "number",
              "null"
            ],
            "description": "Reorder level of this item site."
          },
          "quantityOnHand": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on hand of this item site."
          },
          "quantityOnPurchaseOrders": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on purchase orders of this item site."
          },
          "quantityOnSalesOrders": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on sales orders of this item site."
          },
          "quantityToBeBuiltByPendingBuildTransactions": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity to be built by pending build transactions of this item site."
          },
          "quantityRequiredByPendingBuildTransactions": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity required by pending build transactions of this item site."
          },
          "quantityOnPendingTransfers": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity on pending transfers of this item site."
          },
          "assemblyBuildPoint": {
            "type": [
              "number",
              "null"
            ],
            "description": "Assembly build point of this item site."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "inventoryAssemblyItem",
          "inventoryItem",
          "inventorySite",
          "inventorySiteLocation",
          "reorderLevel",
          "quantityOnHand",
          "quantityOnPurchaseOrders",
          "quantityOnSalesOrders",
          "quantityToBeBuiltByPendingBuildTransactions",
          "quantityRequiredByPendingBuildTransactions",
          "quantityOnPendingTransfers",
          "assemblyBuildPoint"
        ],
        "description": "Item site as stored in QuickBooks Desktop."
      },
      "QbdItemType": {
        "type": "string",
        "enum": [
          "all_except_fixed_asset",
          "assembly",
          "discount",
          "fixed_asset",
          "inventory",
          "inventory_and_assembly",
          "non_inventory",
          "other_charge",
          "payment",
          "sales",
          "sales_tax",
          "service"
        ],
        "description": "Filter by item type. Cannot be combined with ids, itemIds, siteIds."
      },
      "QbdJournalEntryList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/journal-entries"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdJournalEntry"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdJournalEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this journal entry."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_journal_entry"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this journal entry was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this journal entry was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this journal entry. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this journal entry (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this journal entry, such as an invoice or check number. Case-sensitive."
          },
          "isAdjustment": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this journal entry is adjustment."
          },
          "isHomeCurrencyAdjustment": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this journal entry is home currency adjustment."
          },
          "areAmountsEnteredInHomeCurrency": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether amounts entered in home currency."
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this journal entry."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this journal entry's currency to the home currency."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this journal entry, stored by QuickBooks so you can match records with your system."
          },
          "debitLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdJournalDebitLine"
            },
            "description": "Debit lines entries for this journal entry."
          },
          "creditLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdJournalCreditLine"
            },
            "description": "Credit lines entries for this journal entry."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this journal entry."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "transactionDate",
          "refNumber",
          "isAdjustment",
          "isHomeCurrencyAdjustment",
          "areAmountsEnteredInHomeCurrency",
          "currency",
          "exchangeRate",
          "externalId",
          "debitLines",
          "creditLines",
          "customFields"
        ],
        "description": "Journal entry as stored in QuickBooks Desktop."
      },
      "QbdJournalDebitLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this journal debit line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_journal_debit_line"
            ],
            "description": "Type of this object."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this journal debit line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this journal debit line; shown in reports, not on printed forms."
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this journal debit line."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this journal debit line."
          },
          "billingStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Whether this line can be billed to a customer.",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "id",
          "objectType",
          "account",
          "amount",
          "memo",
          "entity",
          "class",
          "billingStatus"
        ],
        "description": "Journal debit line as stored in QuickBooks Desktop."
      },
      "QbdJournalCreditLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this journal credit line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_journal_credit_line"
            ],
            "description": "Type of this object."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this journal credit line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this journal credit line; shown in reports, not on printed forms."
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this journal credit line."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this journal credit line."
          },
          "billingStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Whether this line can be billed to a customer.",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "id",
          "objectType",
          "account",
          "amount",
          "memo",
          "entity",
          "class",
          "billingStatus"
        ],
        "description": "Journal credit line as stored in QuickBooks Desktop."
      },
      "QbdJournalEntryCreateInput": {
        "type": "object",
        "properties": {
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this journal entry (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this journal entry, such as an invoice or check number. Case-sensitive."
          },
          "isAdjustment": {
            "type": "boolean",
            "description": "Whether this journal entry is adjustment."
          },
          "isHomeCurrencyAdjustment": {
            "type": "boolean",
            "description": "Whether this journal entry is home currency adjustment. Cannot be combined with areAmountsEnteredInHomeCurrency, currencyId, exchangeRate."
          },
          "areAmountsEnteredInHomeCurrency": {
            "type": "boolean",
            "description": "Whether amounts entered in home currency. Cannot be combined with isHomeCurrencyAdjustment."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this journal entry. Cannot be combined with isHomeCurrencyAdjustment.",
            "example": "80000001-1234567890"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this journal entry's currency to the home currency. Cannot be combined with isHomeCurrencyAdjustment."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this journal entry, stored by QuickBooks so you can match records with your system."
          },
          "debitLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdJournalDebitLineCreateInput"
            },
            "description": "Debit lines entries for this journal entry."
          },
          "creditLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdJournalCreditLineCreateInput"
            },
            "description": "Credit lines entries for this journal entry."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a journal entry. Requires at least one of: debitLines or creditLines."
      },
      "QbdJournalDebitLineCreateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this journal debit line.",
            "example": "80000001-1234567890"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this journal debit line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this journal debit line; shown in reports, not on printed forms."
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this journal debit line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this journal debit line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a journal debit line."
      },
      "QbdJournalCreditLineCreateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this journal credit line.",
            "example": "80000001-1234567890"
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this journal credit line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this journal credit line; shown in reports, not on printed forms."
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this journal credit line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this journal credit line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a journal credit line."
      },
      "QbdJournalEntryUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this journal entry. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this journal entry (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this journal entry, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "isAdjustment": {
            "type": "boolean",
            "description": "Whether this journal entry is adjustment."
          },
          "areAmountsEnteredInHomeCurrency": {
            "type": "boolean",
            "description": "Whether amounts entered in home currency."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this journal entry.",
            "example": "80000001-1234567890"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this journal entry's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLineUpdateInput"
            },
            "description": "Line items of this journal entry. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep the lines unchanged. An update cannot remove every line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a journal entry."
      },
      "QbdLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this journal line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "journalLineType": {
            "type": "string",
            "enum": [
              "debit",
              "credit"
            ],
            "description": "Journal line type of this journal line."
          },
          "accountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the account for this journal line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this journal line; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this journal line.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this journal line.",
            "example": "80000001-1234567890"
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a journal line."
      },
      "QbdJournalEntryDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_journal_entry"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdJournalEntryVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_journal_entry"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdNonInventoryItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/non-inventory-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNonInventoryItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdNonInventoryItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this non-inventory item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_non_inventory_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this non-inventory item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this non-inventory item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this non-inventory item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this non-inventory item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this non-inventory item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this non-inventory item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this non-inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this non-inventory item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sku of this non-inventory item."
          },
          "unitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The unit of measure set for this non-inventory item."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this non-inventory item."
          },
          "salesOrPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales or purchase details details for this non-inventory item."
          },
          "salesAndPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales and purchase details details for this non-inventory item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this non-inventory item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this non-inventory item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "sku",
          "unitOfMeasureSet",
          "salesTaxCode",
          "salesOrPurchaseDetails",
          "salesAndPurchaseDetails",
          "externalId",
          "customFields"
        ],
        "description": "Non-inventory item as stored in QuickBooks Desktop."
      },
      "QbdSalesOrPurchaseDetail": {
        "type": "object",
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales or purchase."
          },
          "price": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price of this sales or purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "pricePercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price percentage of this sales or purchase. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "postingAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The posting account for this sales or purchase."
          }
        },
        "required": [
          "description",
          "price",
          "pricePercentage",
          "postingAccount"
        ],
        "description": "Sales or purchase as stored in QuickBooks Desktop."
      },
      "QbdSalesAndPurchaseDetail": {
        "type": "object",
        "properties": {
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales description of this sales and purchase."
          },
          "salesPrice": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales price of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The income account for this sales and purchase."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase description of this sales and purchase."
          },
          "purchaseCost": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase cost of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "expenseAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The expense account for this sales and purchase."
          },
          "preferredVendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The preferred vendor for this sales and purchase."
          }
        },
        "required": [
          "salesDescription",
          "salesPrice",
          "incomeAccount",
          "purchaseDescription",
          "purchaseCost",
          "expenseAccount",
          "preferredVendor"
        ],
        "description": "Sales and purchase as stored in QuickBooks Desktop."
      },
      "QbdNonInventoryItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this non-inventory item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this non-inventory item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this non-inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this non-inventory item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": "string",
            "maxLength": 31,
            "description": "Sku of this non-inventory item."
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailCreateInput"
          },
          "salesAndPurchaseDetails": {
            "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailCreateInput"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this non-inventory item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a non-inventory item. Requires at least one of: salesOrPurchaseDetails or salesAndPurchaseDetails."
      },
      "QbdSalesOrPurchaseDetailCreateInput": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this sales or purchase."
          },
          "price": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price of this sales or purchase. Decimal string with up to 5 decimal places. Cannot be combined with pricePercentage.",
            "example": "19.99"
          },
          "pricePercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price percentage of this sales or purchase. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with price.",
            "example": "7.5"
          },
          "postingAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the posting account for this sales or purchase.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Sales or purchase details details for this non-inventory item. Cannot be combined with salesAndPurchaseDetails."
      },
      "QbdSalesAndPurchaseDetailCreateInput": {
        "type": "object",
        "properties": {
          "salesDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Sales description of this sales and purchase."
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this sales and purchase.",
            "example": "80000001-1234567890"
          },
          "purchaseDescription": {
            "type": "string",
            "maxLength": 4095,
            "description": "Purchase description of this sales and purchase."
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "expenseAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the expense account for this sales and purchase.",
            "example": "80000001-1234567890"
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this sales and purchase.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Sales and purchase details details for this non-inventory item. Cannot be combined with salesOrPurchaseDetails."
      },
      "QbdNonInventoryItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this non-inventory item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this non-inventory item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this non-inventory item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this non-inventory item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this non-inventory item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Sku of this non-inventory item.",
            "x-daapi-clearable": true
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "forceUnitOfMeasureChange": {
            "type": "boolean",
            "description": "Force unit of measure change of this non-inventory item."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this non-inventory item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailUpdateInput"
          },
          "salesAndPurchaseDetails": {
            "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailUpdateInput"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a non-inventory item."
      },
      "QbdSalesOrPurchaseDetailUpdateInput": {
        "type": "object",
        "properties": {
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this sales or purchase.",
            "x-daapi-clearable": true
          },
          "price": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price of this sales or purchase. Decimal string with up to 5 decimal places. Cannot be combined with pricePercentage.",
            "example": "19.99"
          },
          "pricePercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price percentage of this sales or purchase. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with price.",
            "example": "7.5"
          },
          "postingAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the posting account for this sales or purchase.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsAccount": {
            "type": "boolean",
            "description": "Update existing transactions account of this sales or purchase."
          }
        },
        "additionalProperties": false,
        "description": "Sales or purchase details details for this non-inventory item. Cannot be combined with salesAndPurchaseDetails."
      },
      "QbdSalesAndPurchaseDetailUpdateInput": {
        "type": "object",
        "properties": {
          "salesDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Sales description of this sales and purchase.",
            "x-daapi-clearable": true
          },
          "salesPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Sales price of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "incomeAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the income account for this sales and purchase.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsIncomeAccount": {
            "type": "boolean",
            "description": "Update existing transactions income account of this sales and purchase."
          },
          "purchaseDescription": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Purchase description of this sales and purchase.",
            "x-daapi-clearable": true
          },
          "purchaseCost": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Purchase cost of this sales and purchase. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "expenseAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the expense account for this sales and purchase.",
            "example": "80000001-1234567890"
          },
          "updateExistingTransactionsExpenseAccount": {
            "type": "boolean",
            "description": "Update existing transactions expense account of this sales and purchase."
          },
          "preferredVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the preferred vendor for this sales and purchase.",
            "example": "80000001-1234567890"
          }
        },
        "additionalProperties": false,
        "description": "Sales and purchase details details for this non-inventory item. Cannot be combined with salesOrPurchaseDetails."
      },
      "QbdOtherChargeItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/other-charge-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdOtherChargeItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdOtherChargeItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this other charge item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_other_charge_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this other charge item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this other charge item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this other charge item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this other charge item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this other charge item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this other charge item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this other charge item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this other charge item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this other charge item."
          },
          "salesOrPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales or purchase details details for this other charge item."
          },
          "salesAndPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales and purchase details details for this other charge item."
          },
          "specialItemType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Special item type of this other charge item.",
            "enum": [
              "finance_charge",
              "reimbursable_expense_group",
              "reimbursable_expense_subtotal"
            ],
            "x-daapi-open-enum": true
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this other charge item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this other charge item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "salesTaxCode",
          "salesOrPurchaseDetails",
          "salesAndPurchaseDetails",
          "specialItemType",
          "externalId",
          "customFields"
        ],
        "description": "Other charge item as stored in QuickBooks Desktop."
      },
      "QbdOtherChargeItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this other charge item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this other charge item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this other charge item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this other charge item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this other charge item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this other charge item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailCreateInput"
              },
              {
                "description": "Sales or purchase details details for this other charge item. Cannot be combined with salesAndPurchaseDetails."
              }
            ]
          },
          "salesAndPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailCreateInput"
              },
              {
                "description": "Sales and purchase details details for this other charge item. Cannot be combined with salesOrPurchaseDetails."
              }
            ]
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this other charge item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an other charge item. Requires at least one of: salesOrPurchaseDetails or salesAndPurchaseDetails."
      },
      "QbdOtherChargeItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this other charge item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this other charge item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this other charge item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this other charge item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this other charge item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this other charge item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this other charge item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailUpdateInput"
              },
              {
                "description": "Sales or purchase details details for this other charge item. Cannot be combined with salesAndPurchaseDetails."
              }
            ]
          },
          "salesAndPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailUpdateInput"
              },
              {
                "description": "Sales and purchase details details for this other charge item. Cannot be combined with salesOrPurchaseDetails."
              }
            ]
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an other charge item."
      },
      "QbdOtherNameList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/other-names"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdOtherName"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdOtherName": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this other name."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_other_name"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this other name was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this other name was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this other name. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this other name, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this other name is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company name."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this other name."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alternate phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of an alternate contact person."
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account number for this other name."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this other name."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this other name, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this other name."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "companyName",
          "salutation",
          "firstName",
          "middleName",
          "lastName",
          "address",
          "phone",
          "alternatePhone",
          "fax",
          "email",
          "contact",
          "alternateContact",
          "accountNumber",
          "note",
          "externalId",
          "customFields"
        ],
        "description": "Other name as stored in QuickBooks Desktop."
      },
      "QbdOtherNameCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this other name, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this other name is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "companyName": {
            "type": "string",
            "maxLength": 41,
            "description": "Company name."
          },
          "salutation": {
            "type": "string",
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": "string",
            "maxLength": 5,
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": "string",
            "maxLength": 25,
            "description": "Last name."
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Address details for this other name."
              }
            ]
          },
          "phone": {
            "type": "string",
            "maxLength": 21,
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": "string",
            "maxLength": 21,
            "description": "Alternate phone number."
          },
          "fax": {
            "type": "string",
            "maxLength": 21,
            "description": "Fax number."
          },
          "email": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address."
          },
          "contact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of an alternate contact person."
          },
          "accountNumber": {
            "type": "string",
            "maxLength": 99,
            "description": "Account number for this other name."
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this other name."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this other name, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an other name."
      },
      "QbdOtherNameUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this other name. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this other name, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this other name is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Company name.",
            "x-daapi-clearable": true
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr.",
            "x-daapi-clearable": true
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "First name.",
            "x-daapi-clearable": true
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Middle name or initial.",
            "x-daapi-clearable": true
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Last name.",
            "x-daapi-clearable": true
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Address details for this other name."
              }
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Main phone number.",
            "x-daapi-clearable": true
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Alternate phone number.",
            "x-daapi-clearable": true
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Fax number.",
            "x-daapi-clearable": true
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address.",
            "x-daapi-clearable": true
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of the main contact person.",
            "x-daapi-clearable": true
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of an alternate contact person.",
            "x-daapi-clearable": true
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Account number for this other name.",
            "x-daapi-clearable": true
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Note for this other name.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating an other name."
      },
      "QbdPaymentMethodList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/payment-methods"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPaymentMethod"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdPaymentMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this payment method."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_payment_method"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this payment method was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this payment method was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this payment method. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this payment method, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this payment method is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "paymentMethodType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Payment method type of this payment method.",
            "enum": [
              "american_express",
              "cash",
              "check",
              "debit_card",
              "discover",
              "e_check",
              "gift_card",
              "master_card",
              "other",
              "other_credit_card",
              "visa"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "paymentMethodType"
        ],
        "description": "Payment method as stored in QuickBooks Desktop."
      },
      "QbdPaymentMethodType": {
        "type": "string",
        "enum": [
          "american_express",
          "cash",
          "check",
          "debit_card",
          "discover",
          "e_check",
          "gift_card",
          "master_card",
          "other",
          "other_credit_card",
          "visa"
        ],
        "description": "Filter by payment method types. Cannot be combined with ids, names."
      },
      "QbdPaymentMethodCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this payment method, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this payment method is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "paymentMethodType": {
            "type": "string",
            "enum": [
              "american_express",
              "cash",
              "check",
              "debit_card",
              "discover",
              "e_check",
              "gift_card",
              "master_card",
              "other",
              "other_credit_card",
              "visa"
            ],
            "description": "Payment method type of this payment method."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a payment method."
      },
      "QbdPaymentsToDepositList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/payments-to-deposit"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPaymentsToDeposit"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdPaymentsToDeposit": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_payments_to_deposit"
            ],
            "description": "Type of this object."
          },
          "paymentTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the payment transaction."
          },
          "paymentTransactionLineId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the payment transaction line."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this payment to deposit.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this payment to deposit."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this payment to deposit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this payment to deposit, such as an invoice or check number. Case-sensitive."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this payment to deposit."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this payment to deposit's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this payment to deposit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "objectType",
          "paymentTransactionId",
          "paymentTransactionLineId",
          "transactionType",
          "customer",
          "transactionDate",
          "refNumber",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency"
        ],
        "description": "Payment to deposit as stored in QuickBooks Desktop."
      },
      "QbdPayrollWageItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/payroll-wage-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPayrollWageItem"
            },
            "description": "Every matching object."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always null: this list has no further pages."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Always false: this list has no further pages."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always 0: no records remain."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Always null."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdPayrollWageItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this payroll wage item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_payroll_wage_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this payroll wage item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this payroll wage item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this payroll wage item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this payroll wage item, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this payroll wage item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "wageType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Wage type of this payroll wage item.",
            "enum": [
              "bonus",
              "commission",
              "hourly_overtime",
              "hourly_regular",
              "hourly_sick",
              "hourly_vacation",
              "salary_regular",
              "salary_sick",
              "salary_vacation"
            ],
            "x-daapi-open-enum": true
          },
          "expenseAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The expense account for this payroll wage item."
          },
          "overtimeMultiplier": {
            "type": [
              "string",
              "null"
            ],
            "description": "Overtime pay multiplier as a decimal string, for example \"1.5\" for time and a half.",
            "example": "19.99"
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "wageType",
          "expenseAccount",
          "overtimeMultiplier",
          "rate",
          "ratePercent"
        ],
        "description": "Payroll wage item as stored in QuickBooks Desktop."
      },
      "QbdPayrollWageItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this payroll wage item, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this payroll wage item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "wageType": {
            "type": "string",
            "enum": [
              "bonus",
              "commission",
              "hourly_overtime",
              "hourly_regular",
              "hourly_sick",
              "hourly_vacation",
              "salary_regular",
              "salary_sick",
              "salary_vacation"
            ],
            "description": "Wage type of this payroll wage item."
          },
          "expenseAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the expense account for this payroll wage item.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name",
          "wageType",
          "expenseAccountId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a payroll wage item."
      },
      "QbdPreference": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_preference"
            ],
            "description": "Type of this object."
          },
          "accounting": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAccounting"
              },
              {
                "type": "null"
              }
            ],
            "description": "Accounting details for this preferences."
          },
          "financeCharges": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdFinanceCharge"
              },
              {
                "type": "null"
              }
            ],
            "description": "Finance charges details for this preferences."
          },
          "jobsAndEstimates": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdJobsAndEstimate"
              },
              {
                "type": "null"
              }
            ],
            "description": "Jobs and estimates details for this preferences."
          },
          "multiCurrency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdMultiCurrency"
              },
              {
                "type": "null"
              }
            ],
            "description": "Multi currency details for this preferences."
          },
          "multiLocationInventory": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdMultiLocationInventory"
              },
              {
                "type": "null"
              }
            ],
            "description": "Multi location inventory details for this preferences."
          },
          "purchasesAndVendors": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdPurchasesAndVendor"
              },
              {
                "type": "null"
              }
            ],
            "description": "Purchases and vendors details for this preferences."
          },
          "reports": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReportsPreferences"
              },
              {
                "type": "null"
              }
            ],
            "description": "Reports details for this preferences."
          },
          "salesAndCustomers": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndCustomer"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales and customers details for this preferences."
          },
          "salesTax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesTax"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales tax details for this preferences."
          },
          "timeTracking": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdTimeTracking"
              },
              {
                "type": "null"
              }
            ],
            "description": "Time tracking details for this preferences."
          },
          "appAccessRights": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAppAccessRight"
              },
              {
                "type": "null"
              }
            ],
            "description": "App access rights details for this preferences."
          },
          "itemsAndInventory": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdItemsAndInventory"
              },
              {
                "type": "null"
              }
            ],
            "description": "Items and inventory details for this preferences."
          }
        },
        "required": [
          "objectType",
          "accounting",
          "financeCharges",
          "jobsAndEstimates",
          "multiCurrency",
          "multiLocationInventory",
          "purchasesAndVendors",
          "reports",
          "salesAndCustomers",
          "salesTax",
          "timeTracking",
          "appAccessRights",
          "itemsAndInventory"
        ],
        "description": "Preferences as stored in QuickBooks Desktop."
      },
      "QbdAccounting": {
        "type": "object",
        "properties": {
          "isUsingAccountNumbers": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this accounting preferences is using account numbers."
          },
          "isRequiringAccounts": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this accounting preferences is requiring accounts."
          },
          "isUsingClassTracking": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this accounting preferences is using class tracking."
          },
          "defaultTransactionClass": {
            "type": [
              "string",
              "null"
            ],
            "description": "Default transaction class of this accounting preferences.",
            "enum": [
              "none",
              "accounts",
              "items",
              "names"
            ],
            "x-daapi-open-enum": true
          },
          "isUsingAuditTrail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this accounting preferences is using audit trail."
          },
          "isAssigningJournalEntryNumbers": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this accounting preferences is assigning journal entry numbers."
          },
          "closingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Closing date (YYYY-MM-DD).",
            "example": "2026-10-05"
          }
        },
        "required": [
          "isUsingAccountNumbers",
          "isRequiringAccounts",
          "isUsingClassTracking",
          "defaultTransactionClass",
          "isUsingAuditTrail",
          "isAssigningJournalEntryNumbers",
          "closingDate"
        ],
        "description": "Accounting preferences as stored in QuickBooks Desktop."
      },
      "QbdFinanceCharge": {
        "type": "object",
        "properties": {
          "annualInterestRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Annual interest rate of this finance charge preferences."
          },
          "minimumFinanceCharge": {
            "type": [
              "number",
              "null"
            ],
            "description": "Minimum finance charge of this finance charge preferences. A number with up to 2 decimal places."
          },
          "gracePeriod": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Grace period of this finance charge preferences."
          },
          "financeChargeAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The finance charge account for this finance charge preferences."
          },
          "isAssessingForOverdueCharges": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this finance charge preferences is assessing for overdue charges."
          },
          "calculateChargesFrom": {
            "type": [
              "string",
              "null"
            ],
            "description": "Calculate charges from of this finance charge preferences.",
            "enum": [
              "due_date",
              "invoice_or_billed_date"
            ],
            "x-daapi-open-enum": true
          },
          "isMarkedToBePrinted": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this finance charge preferences is marked to be printed."
          }
        },
        "required": [
          "annualInterestRate",
          "minimumFinanceCharge",
          "gracePeriod",
          "financeChargeAccount",
          "isAssessingForOverdueCharges",
          "calculateChargesFrom",
          "isMarkedToBePrinted"
        ],
        "description": "Finance charge preferences as stored in QuickBooks Desktop."
      },
      "QbdJobsAndEstimate": {
        "type": "object",
        "properties": {
          "isUsingEstimates": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this jobs and estimates preferences is using estimates."
          },
          "isUsingProgressInvoicing": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this jobs and estimates preferences is using progress invoicing."
          },
          "isPrintingItemsWithZeroAmounts": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this jobs and estimates preferences is printing items with zero amounts."
          }
        },
        "required": [
          "isUsingEstimates",
          "isUsingProgressInvoicing",
          "isPrintingItemsWithZeroAmounts"
        ],
        "description": "Jobs and estimates preferences as stored in QuickBooks Desktop."
      },
      "QbdMultiCurrency": {
        "type": "object",
        "properties": {
          "isMultiCurrencyEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this multi currency preferences is multi currency enabled."
          },
          "homeCurrency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The home currency for this multi currency preferences."
          }
        },
        "required": [
          "isMultiCurrencyEnabled",
          "homeCurrency"
        ],
        "description": "Multi currency preferences as stored in QuickBooks Desktop."
      },
      "QbdMultiLocationInventory": {
        "type": "object",
        "properties": {
          "isMultiLocationInventoryAvailable": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this multi location inventory preferences is multi location inventory available."
          },
          "isMultiLocationInventoryEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this multi location inventory preferences is multi location inventory enabled."
          }
        },
        "required": [
          "isMultiLocationInventoryAvailable",
          "isMultiLocationInventoryEnabled"
        ],
        "description": "Multi location inventory preferences as stored in QuickBooks Desktop."
      },
      "QbdPurchasesAndVendor": {
        "type": "object",
        "properties": {
          "isUsingInventory": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchases and vendors preferences is using inventory."
          },
          "daysBillsAreDue": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Days bills are due of this purchases and vendors preferences."
          },
          "isAutomaticallyUsingDiscounts": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchases and vendors preferences is automatically using discounts."
          },
          "defaultDiscountAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The default discount account for this purchases and vendors preferences."
          }
        },
        "required": [
          "isUsingInventory",
          "daysBillsAreDue",
          "isAutomaticallyUsingDiscounts",
          "defaultDiscountAccount"
        ],
        "description": "Purchases and vendors preferences as stored in QuickBooks Desktop."
      },
      "QbdReportsPreferences": {
        "type": "object",
        "properties": {
          "agingReportBasis": {
            "type": [
              "string",
              "null"
            ],
            "description": "Aging report basis of this reports preferences.",
            "enum": [
              "age_from_due_date",
              "age_from_transaction_date"
            ],
            "x-daapi-open-enum": true
          },
          "summaryReportBasis": {
            "type": [
              "string",
              "null"
            ],
            "description": "Summary report basis of this reports preferences.",
            "enum": [
              "accrual",
              "cash"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "agingReportBasis",
          "summaryReportBasis"
        ],
        "description": "Reports preferences as stored in QuickBooks Desktop."
      },
      "QbdSalesAndCustomer": {
        "type": "object",
        "properties": {
          "defaultShippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The default shipping method for this sales and customers preferences."
          },
          "defaultShipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Default shipment origin of this sales and customers preferences."
          },
          "defaultMarkupPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Default markup percentage of this sales and customers preferences. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "isTrackingReimbursedExpensesAsIncome": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales and customers preferences is tracking reimbursed expenses as income."
          },
          "isAutoApplyingPayments": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales and customers preferences is auto applying payments."
          },
          "priceLevels": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdPriceLevels"
              },
              {
                "type": "null"
              }
            ],
            "description": "Price levels details for this sales and customers preferences."
          }
        },
        "required": [
          "defaultShippingMethod",
          "defaultShipmentOrigin",
          "defaultMarkupPercentage",
          "isTrackingReimbursedExpensesAsIncome",
          "isAutoApplyingPayments",
          "priceLevels"
        ],
        "description": "Sales and customers preferences as stored in QuickBooks Desktop."
      },
      "QbdPriceLevels": {
        "type": "object",
        "properties": {
          "isUsingPriceLevels": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this price levels is using price levels."
          },
          "isRoundingSalesPriceUp": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this price levels is rounding sales price up."
          }
        },
        "required": [
          "isUsingPriceLevels",
          "isRoundingSalesPriceUp"
        ],
        "description": "Price levels as stored in QuickBooks Desktop."
      },
      "QbdSalesTax": {
        "type": "object",
        "properties": {
          "defaultItemSalesTax": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The default item sales tax for this sales tax preferences."
          },
          "salesTaxReportingFrequency": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax reporting frequency of this sales tax preferences.",
            "enum": [
              "monthly",
              "quarterly",
              "annually"
            ],
            "x-daapi-open-enum": true
          },
          "defaultTaxableSalesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The default taxable sales tax code for this sales tax preferences."
          },
          "defaultNonTaxableSalesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The default non taxable sales tax code for this sales tax preferences."
          },
          "isUsingVendorTaxCode": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax preferences is using vendor tax code."
          },
          "isUsingCustomerTaxCode": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax preferences is using customer tax code."
          },
          "isUsingTaxInclusivePrices": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax preferences is using tax inclusive prices."
          }
        },
        "required": [
          "defaultItemSalesTax",
          "salesTaxReportingFrequency",
          "defaultTaxableSalesTaxCode",
          "defaultNonTaxableSalesTaxCode",
          "isUsingVendorTaxCode",
          "isUsingCustomerTaxCode",
          "isUsingTaxInclusivePrices"
        ],
        "description": "Sales tax preferences as stored in QuickBooks Desktop."
      },
      "QbdTimeTracking": {
        "type": "object",
        "properties": {
          "firstDayOfWeek": {
            "type": [
              "string",
              "null"
            ],
            "description": "First day of week of this time tracking preferences.",
            "enum": [
              "monday",
              "tuesday",
              "wednesday",
              "thursday",
              "friday",
              "saturday",
              "sunday"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "firstDayOfWeek"
        ],
        "description": "Time tracking preferences as stored in QuickBooks Desktop."
      },
      "QbdAppAccessRight": {
        "type": "object",
        "properties": {
          "isAutomaticLoginAllowed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this current app access rights is automatic login allowed."
          },
          "automaticLoginUserName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Automatic login user name of this current app access rights."
          },
          "isPersonalDataAccessAllowed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this current app access rights is personal data access allowed."
          }
        },
        "required": [
          "isAutomaticLoginAllowed",
          "automaticLoginUserName",
          "isPersonalDataAccessAllowed"
        ],
        "description": "Current app access rights as stored in QuickBooks Desktop."
      },
      "QbdItemsAndInventory": {
        "type": "object",
        "properties": {
          "isEnhancedInventoryReceivingEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is enhanced inventory receiving enabled."
          },
          "inventoryTrackingMethod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Inventory tracking method of this items and inventory preferences.",
            "enum": [
              "none",
              "serial_number",
              "lot_number"
            ],
            "x-daapi-open-enum": true
          },
          "isInventoryExpirationDateEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is inventory expiration date enabled."
          },
          "isTrackingOnSalesTransactionsEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is tracking on sales transactions enabled."
          },
          "isTrackingOnPurchaseTransactionsEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is tracking on purchase transactions enabled."
          },
          "isTrackingOnInventoryAdjustmentEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is tracking on inventory adjustment enabled."
          },
          "isTrackingOnBuildAssemblyEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is tracking on build assembly enabled."
          },
          "isFifoEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is fifo enabled."
          },
          "fifoEffectiveDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Fifo effective date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "isBinTrackingEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is bin tracking enabled."
          },
          "isBarcodeEnabled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this items and inventory preferences is barcode enabled."
          }
        },
        "required": [
          "isEnhancedInventoryReceivingEnabled",
          "inventoryTrackingMethod",
          "isInventoryExpirationDateEnabled",
          "isTrackingOnSalesTransactionsEnabled",
          "isTrackingOnPurchaseTransactionsEnabled",
          "isTrackingOnInventoryAdjustmentEnabled",
          "isTrackingOnBuildAssemblyEnabled",
          "isFifoEnabled",
          "fifoEffectiveDate",
          "isBinTrackingEnabled",
          "isBarcodeEnabled"
        ],
        "description": "Items and inventory preferences as stored in QuickBooks Desktop."
      },
      "QbdPriceLevelList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/price-levels"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPriceLevel"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdPriceLevel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this price level."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_price_level"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this price level was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this price level was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this price level. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this price level, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this price level is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "priceLevelType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price level type of this price level.",
            "enum": [
              "fixed_percentage",
              "per_item"
            ],
            "x-daapi-open-enum": true
          },
          "fixedPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fixed percentage of this price level. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "perItemPriceLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPerItemPriceLevel"
            },
            "description": "Per item price levels entries for this price level."
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this price level."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "priceLevelType",
          "fixedPercentage",
          "perItemPriceLevels",
          "currency"
        ],
        "description": "Price level as stored in QuickBooks Desktop."
      },
      "QbdPerItemPriceLevel": {
        "type": "object",
        "properties": {
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this price level per item."
          },
          "customPrice": {
            "type": [
              "string",
              "null"
            ],
            "description": "Custom price of this price level per item. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          },
          "customPricePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Custom price percent of this price level per item. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "item",
          "customPrice",
          "customPricePercent"
        ],
        "description": "Price level per item as stored in QuickBooks Desktop."
      },
      "QbdPriceLevelCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this price level, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this price level is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "fixedPercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Fixed percentage of this price level. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with perItemPriceLevels, currencyId.",
            "example": "7.5"
          },
          "perItemPriceLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPerItemPriceLevelInput"
            },
            "description": "Per item price levels entries for this price level. Cannot be combined with fixedPercentage."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this price level. Cannot be combined with fixedPercentage.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a price level. Requires at least one of: fixedPercentage or perItemPriceLevels or currencyId."
      },
      "QbdPerItemPriceLevelInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this price level per item.",
            "example": "80000001-1234567890"
          },
          "customPrice": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Custom price of this price level per item. Decimal string with up to 5 decimal places. Cannot be combined with customPricePercent, adjustPercentage, adjustRelativeTo.",
            "example": "19.99"
          },
          "customPricePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Custom price percent of this price level per item. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with customPrice, adjustPercentage, adjustRelativeTo.",
            "example": "7.5"
          },
          "adjustPercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Adjust percentage of this price level per item. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with customPrice, customPricePercent.",
            "example": "7.5"
          },
          "adjustRelativeTo": {
            "type": "string",
            "enum": [
              "standard_price",
              "cost",
              "current_custom_price"
            ],
            "description": "Adjust relative to of this price level per item. Cannot be combined with customPrice, customPricePercent."
          }
        },
        "required": [
          "itemId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a price level per item. Requires at least one of: customPrice or customPricePercent or adjustPercentage or adjustRelativeTo."
      },
      "QbdPriceLevelUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this price level. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this price level, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this price level is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "fixedPercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Fixed percentage of this price level. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with perItemPriceLevels, currencyId.",
            "example": "7.5"
          },
          "perItemPriceLevels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPerItemPriceLevelInput"
            },
            "description": "Per item price levels entries for this price level. Cannot be combined with fixedPercentage."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this price level. Cannot be combined with fixedPercentage.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a price level."
      },
      "QbdPurchaseOrderList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/purchase-orders"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrder"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdPurchaseOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this purchase order."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_purchase_order"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this purchase order was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this purchase order was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this purchase order. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this purchase order."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this purchase order."
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this purchase order."
          },
          "shipToEntity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ship to entity for this purchase order."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this purchase order."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this purchase order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this purchase order, such as an invoice or check number. Case-sensitive."
          },
          "vendorAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Vendor address details for this purchase order."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this purchase order."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this purchase order."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this purchase order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "expectedDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Expected date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The shipping method for this purchase order."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this purchase order."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this purchase order as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this purchase order."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this purchase order's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this purchase order. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "isManuallyClosed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order is manually closed."
          },
          "isFullyReceived": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order is fully received."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this purchase order; shown in reports, not on printed forms."
          },
          "vendorMessage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Vendor message of this purchase order."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order is in the queue of forms to email."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this purchase order."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this purchase order."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this purchase order, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this purchase order, such as payments applied to it."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLine"
            },
            "description": "Line items of this purchase order."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineGroup"
            },
            "description": "Group lines of this purchase order: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this purchase order."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "class",
          "inventorySite",
          "shipToEntity",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "vendorAddress",
          "shippingAddress",
          "terms",
          "dueDate",
          "expectedDate",
          "shippingMethod",
          "shipmentOrigin",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "isManuallyClosed",
          "isFullyReceived",
          "memo",
          "vendorMessage",
          "isQueuedForPrint",
          "isQueuedForEmail",
          "otherCustomField1",
          "otherCustomField2",
          "externalId",
          "linkedTransactions",
          "lines",
          "lineGroups",
          "customFields"
        ],
        "description": "Purchase order as stored in QuickBooks Desktop."
      },
      "QbdPurchaseOrderLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this purchase order line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_purchase_order_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this purchase order line."
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sku of this purchase order line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this purchase order line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this purchase order line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this purchase order line."
          },
          "payee": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payee for this purchase order line."
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "receivedQuantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Received quantity of this purchase order line."
          },
          "unbilledQuantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Unbilled quantity of this purchase order line."
          },
          "isBilled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order line has been billed to the customer. Taken from QuickBooks when it reports it, otherwise derived from billingStatus."
          },
          "isManuallyClosed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this purchase order line is manually closed."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this purchase order line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this purchase order line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this purchase order line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "sku",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "class",
          "amount",
          "inventorySiteLocation",
          "payee",
          "serviceDate",
          "receivedQuantity",
          "unbilledQuantity",
          "isBilled",
          "isManuallyClosed",
          "otherCustomField1",
          "otherCustomField2",
          "customFields"
        ],
        "description": "Purchase order line as stored in QuickBooks Desktop."
      },
      "QbdPurchaseOrderLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this purchase order line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_purchase_order_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this purchase order line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this purchase order line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this purchase order line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLine"
            },
            "description": "Line items of this purchase order line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this purchase order line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Purchase order line group as stored in QuickBooks Desktop."
      },
      "QbdPurchaseOrderCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this purchase order.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this purchase order.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this purchase order. Cannot be combined with shipToEntityId.",
            "example": "80000001-1234567890"
          },
          "shipToEntityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the ship to entity for this purchase order. Cannot be combined with inventorySiteId.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this purchase order.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this purchase order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this purchase order, such as an invoice or check number. Case-sensitive."
          },
          "vendorAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Vendor address details for this purchase order."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this purchase order."
              }
            ]
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this purchase order.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this purchase order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "expectedDate": {
            "type": "string",
            "format": "date",
            "description": "Expected date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this purchase order.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this purchase order."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this purchase order; shown in reports, not on printed forms."
          },
          "vendorMessage": {
            "type": "string",
            "maxLength": 99,
            "description": "Vendor message of this purchase order."
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this purchase order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this purchase order is in the queue of forms to email."
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 25,
            "description": "Built-in \"Other 1\" text field on this purchase order."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this purchase order."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this purchase order's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this purchase order, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineCreateInput"
            },
            "description": "Line items of this purchase order."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineGroupCreateInput"
            },
            "description": "Group lines of this purchase order: each expands an item group into its component lines."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a purchase order. Requires at least one of: lines or lineGroups."
      },
      "QbdPurchaseOrderLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": "string",
            "maxLength": 31,
            "description": "Sku of this purchase order line."
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this purchase order line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this purchase order line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this purchase order line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this purchase order line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a purchase order line."
      },
      "QbdPurchaseOrderLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this purchase order line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this purchase order line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this purchase order line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a purchase order line group."
      },
      "QbdPurchaseOrderUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this purchase order. Send it unchanged when updating; a stale value is rejected."
          },
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this purchase order.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this purchase order.",
            "example": "80000001-1234567890"
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this purchase order. Cannot be combined with shipToEntityId.",
            "example": "80000001-1234567890"
          },
          "shipToEntityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the ship to entity for this purchase order. Cannot be combined with inventorySiteId.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this purchase order.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this purchase order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this purchase order, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "vendorAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Vendor address details for this purchase order."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this purchase order."
              }
            ]
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this purchase order.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this purchase order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "expectedDate": {
            "type": "string",
            "format": "date",
            "description": "Expected date (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this purchase order.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this purchase order.",
            "x-daapi-clearable": true
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this purchase order is manually closed."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this purchase order; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "vendorMessage": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Vendor message of this purchase order.",
            "x-daapi-clearable": true
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this purchase order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this purchase order is in the queue of forms to email."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Built-in \"Other 1\" text field on this purchase order.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this purchase order.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this purchase order's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineUpdateInput"
            },
            "description": "Line items of this purchase order. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the purchase order first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the purchase order keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineGroupUpdateInput"
            },
            "description": "Group lines of this purchase order: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the purchase order first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the purchase order keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a purchase order."
      },
      "QbdPurchaseOrderLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this purchase order line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "sku": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Sku of this purchase order line.",
            "x-daapi-clearable": true
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this purchase order line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "payeeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payee for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this purchase order line is manually closed."
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this purchase order line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this purchase order line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this purchase order line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a purchase order line."
      },
      "QbdPurchaseOrderLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this purchase order line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this purchase order line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this purchase order line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdPurchaseOrderLineUpdateInput"
            },
            "description": "Line items of this purchase order line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a purchase order line group."
      },
      "QbdPurchaseOrderDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_purchase_order"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdReceivePaymentList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/receive-payments"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdReceivePayment"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdReceivePayment": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this received payment."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_receive_payment"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this received payment was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this received payment was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this received payment. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this received payment."
          },
          "receivablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The receivables account for this received payment."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this received payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this received payment, such as an invoice or check number. Case-sensitive."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this received payment as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this received payment."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this received payment's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this received payment. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "paymentMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payment method for this received payment."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this received payment; shown in reports, not on printed forms."
          },
          "depositToAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The deposit to account for this received payment."
          },
          "creditCardTransaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransaction"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card transaction details for this received payment."
          },
          "unusedPayment": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Unused payment of this received payment. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "unusedCredits": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Unused credits of this received payment. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this received payment, stored by QuickBooks so you can match records with your system."
          },
          "appliedToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdAppliedToTransaction"
            },
            "description": "Applied to transactions entries for this received payment."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this received payment."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "receivablesAccount",
          "transactionDate",
          "refNumber",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "paymentMethod",
          "memo",
          "depositToAccount",
          "creditCardTransaction",
          "unusedPayment",
          "unusedCredits",
          "externalId",
          "appliedToTransactions",
          "customFields"
        ],
        "description": "Received payment as stored in QuickBooks Desktop."
      },
      "QbdReceivePaymentCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this received payment.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this received payment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this received payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 20,
            "description": "Reference number of this received payment, such as an invoice or check number. Case-sensitive."
          },
          "totalAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this received payment as a decimal string.",
            "example": "1250.00"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this received payment's currency to the home currency."
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this received payment.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this received payment; shown in reports, not on printed forms."
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this received payment.",
            "example": "80000001-1234567890"
          },
          "creditCardTransaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransactionCreateInput"
              },
              {
                "description": "Credit card transaction details for this received payment."
              }
            ]
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this received payment, stored by QuickBooks so you can match records with your system."
          },
          "isAutoApply": {
            "type": "boolean",
            "description": "Whether this received payment is auto apply. Cannot be combined with applyToTransactions."
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyToTransactionInput"
            },
            "description": "Apply to transactions entries for this received payment. Cannot be combined with isAutoApply."
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a received payment. Requires at least one of: isAutoApply or applyToTransactions."
      },
      "QbdReceivePaymentUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this received payment. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this received payment.",
            "example": "80000001-1234567890"
          },
          "receivablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the receivables account for this received payment.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this received payment (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 20,
            "description": "Reference number of this received payment, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "totalAmount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this received payment as a decimal string.",
            "example": "1250.00"
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this received payment's currency to the home currency."
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this received payment.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this received payment; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this received payment.",
            "example": "80000001-1234567890"
          },
          "creditCardTransaction": {
            "$ref": "#/components/schemas/QbdCreditCardTransactionUpdateInput"
          },
          "applyToTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdApplyToTransactionInput"
            },
            "description": "Apply to transactions entries for this received payment."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a received payment."
      },
      "QbdCreditCardTransactionUpdateInput": {
        "type": "object",
        "properties": {
          "request": {
            "$ref": "#/components/schemas/QbdRequestUpdateInput"
          },
          "response": {
            "$ref": "#/components/schemas/QbdResponseUpdateInput"
          }
        },
        "additionalProperties": false,
        "description": "Credit card transaction details for this received payment."
      },
      "QbdRequestUpdateInput": {
        "type": "object",
        "properties": {
          "number": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Number of this credit card transaction input info.",
            "x-daapi-clearable": true
          },
          "expirationMonth": {
            "type": "integer",
            "minimum": 1,
            "maximum": 12,
            "description": "Expiration month of this credit card transaction input info."
          },
          "expirationYear": {
            "type": "integer",
            "description": "Expiration year of this credit card transaction input info."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of this credit card transaction input info, unique within its parent level.",
            "x-daapi-clearable": true
          },
          "address": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Address of this credit card transaction input info.",
            "x-daapi-clearable": true
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 18,
            "description": "Postal or ZIP code.",
            "x-daapi-clearable": true
          },
          "commercialCardCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 24,
            "description": "Commercial card code of this credit card transaction input info.",
            "x-daapi-clearable": true
          },
          "transactionMode": {
            "type": "string",
            "enum": [
              "card_not_present",
              "card_present"
            ],
            "description": "Transaction mode of this credit card transaction input info."
          },
          "transactionType": {
            "type": "string",
            "enum": [
              "authorization",
              "capture",
              "charge",
              "refund",
              "voice_authorization"
            ],
            "description": "Transaction type of this credit card transaction input info."
          }
        },
        "additionalProperties": false,
        "description": "Request details for this credit card transaction info."
      },
      "QbdResponseUpdateInput": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "Status code of this credit card transaction result info."
          },
          "statusMessage": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 60,
            "description": "Status message of this credit card transaction result info.",
            "x-daapi-clearable": true
          },
          "creditCardTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 24,
            "description": "Credit card transaction of this credit card transaction result info.",
            "x-daapi-clearable": true
          },
          "merchantAccountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 32,
            "description": "Merchant account number of this credit card transaction result info.",
            "x-daapi-clearable": true
          },
          "authorizationCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 12,
            "description": "Authorization code of this credit card transaction result info.",
            "x-daapi-clearable": true
          },
          "avsStreetStatus": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Avs street status of this credit card transaction result info."
          },
          "avsZipStatus": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Avs zip status of this credit card transaction result info."
          },
          "cardSecurityCodeMatch": {
            "type": "string",
            "enum": [
              "pass",
              "fail",
              "not_available"
            ],
            "description": "Card security code match of this credit card transaction result info."
          },
          "reconBatchId": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 84,
            "description": "Recon batch of this credit card transaction result info.",
            "x-daapi-clearable": true
          },
          "paymentGroupingCode": {
            "type": "integer",
            "description": "Payment grouping code of this credit card transaction result info."
          },
          "paymentStatus": {
            "type": "string",
            "enum": [
              "unknown",
              "completed"
            ],
            "description": "Payment status of this credit card transaction result info."
          },
          "transactionAuthorizedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Transaction authorized at, as an ISO 8601 date-time."
          },
          "transactionAuthorizationStamp": {
            "type": "integer",
            "description": "Transaction authorization stamp of this credit card transaction result info."
          },
          "clientTransactionId": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 16,
            "description": "Client transaction of this credit card transaction result info.",
            "x-daapi-clearable": true
          }
        },
        "additionalProperties": false,
        "description": "Response details for this credit card transaction info."
      },
      "QbdReceivePaymentDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_receive_payment"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdReport": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_report"
            ],
            "description": "Always `qbd_report`."
          },
          "category": {
            "type": "string",
            "description": "Report family, matching the endpoint.",
            "enum": [
              "general_summary",
              "general_detail",
              "aging",
              "budget_summary",
              "job",
              "time",
              "custom_detail",
              "custom_summary",
              "payroll_detail",
              "payroll_summary"
            ],
            "x-daapi-open-enum": true
          },
          "reportType": {
            "type": [
              "string",
              "null"
            ],
            "description": "The reportType that was requested."
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "description": "Report title."
          },
          "subtitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Report subtitle, usually the date range."
          },
          "basis": {
            "type": [
              "string",
              "null"
            ],
            "description": "Accounting basis.",
            "enum": [
              "accrual",
              "cash",
              "none"
            ],
            "x-daapi-open-enum": true
          },
          "rowCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Number of rows QuickBooks reported."
          },
          "columnCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Number of columns."
          },
          "columnTitleRowCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Number of column title rows."
          },
          "columns": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdReportColumn"
            },
            "description": "Column definitions in display order."
          },
          "rows": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdReportRow"
            },
            "description": "Rows in display order."
          }
        },
        "required": [
          "objectType",
          "category",
          "reportType",
          "title",
          "subtitle",
          "basis",
          "rowCount",
          "columnCount",
          "columnTitleRowCount",
          "columns",
          "rows"
        ],
        "description": "A QuickBooks report as columns and typed rows."
      },
      "QbdReportColumn": {
        "type": "object",
        "properties": {
          "columnId": {
            "type": "string",
            "description": "Column identifier used by row cells."
          },
          "columnType": {
            "type": [
              "string",
              "null"
            ],
            "description": "What the column holds, such as amount or account."
          },
          "dataType": {
            "type": [
              "string",
              "null"
            ],
            "description": "qbXML data type of the column values, in snake_case."
          },
          "titles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdReportColumnTitle"
            },
            "description": "Title text per title row."
          }
        },
        "required": [
          "columnId",
          "columnType",
          "dataType",
          "titles"
        ]
      },
      "QbdReportColumnTitle": {
        "type": "object",
        "properties": {
          "rowNumber": {
            "type": "integer",
            "description": "Title row this text belongs to (1-based)."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Title text."
          }
        },
        "required": [
          "rowNumber",
          "value"
        ]
      },
      "QbdReportRow": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "description": "Row kind: `data`, `text`, `subtotal` or `total`.",
            "enum": [
              "data",
              "text",
              "subtotal",
              "total"
            ],
            "x-daapi-open-enum": true
          },
          "rowNumber": {
            "type": "integer",
            "description": "Row position in the report (1-based)."
          },
          "text": {
            "type": [
              "string",
              "null"
            ],
            "description": "Text of a text row; null for other kinds."
          },
          "rowDescriptor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReportRowDescriptor"
              },
              {
                "type": "null"
              }
            ],
            "description": "What a data, subtotal or total row describes; null for text rows and rows without one."
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdReportCell"
            },
            "description": "Cell values of the row; empty for text rows."
          }
        },
        "required": [
          "kind",
          "rowNumber",
          "text",
          "rowDescriptor",
          "cells"
        ]
      },
      "QbdReportRowDescriptor": {
        "type": "object",
        "properties": {
          "type": {
            "type": [
              "string",
              "null"
            ],
            "description": "Kind of object the row describes, such as account or customer."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of that object."
          }
        },
        "required": [
          "type",
          "value"
        ]
      },
      "QbdReportCell": {
        "type": "object",
        "properties": {
          "columnId": {
            "type": "string",
            "description": "Column this cell belongs to."
          },
          "value": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cell value as QuickBooks formats it."
          },
          "dataType": {
            "type": [
              "string",
              "null"
            ],
            "description": "qbXML data type of the value, in snake_case."
          }
        },
        "required": [
          "columnId",
          "value",
          "dataType"
        ]
      },
      "QbdGeneralSummaryReportType": {
        "type": "string",
        "enum": [
          "balance_sheet_by_class",
          "balance_sheet_previous_year_comparison",
          "balance_sheet_standard",
          "balance_sheet_summary",
          "customer_balance_summary",
          "expense_by_vendor_summary",
          "income_by_customer_summary",
          "inventory_stock_status_by_item",
          "inventory_stock_status_by_vendor",
          "income_tax_summary",
          "inventory_valuation_summary",
          "inventory_valuation_summary_by_site",
          "lot_number_in_stock_by_site",
          "physical_inventory_worksheet",
          "profit_and_loss_by_class",
          "profit_and_loss_by_job",
          "profit_and_loss_previous_year_comparison",
          "profit_and_loss_standard",
          "profit_and_loss_ytd_comparison",
          "purchase_by_item_summary",
          "purchase_by_vendor_summary",
          "sales_by_customer_summary",
          "sales_by_item_summary",
          "sales_by_sales_representative_summary",
          "sales_tax_liability",
          "sales_tax_revenue_summary",
          "serial_number_in_stock_by_site",
          "trial_balance",
          "vendor_balance_summary"
        ],
        "description": "Which report in this family to run."
      },
      "QbdReportDateMacro": {
        "type": "string",
        "enum": [
          "all",
          "today",
          "this_week",
          "this_week_to_date",
          "this_month",
          "this_month_to_date",
          "this_quarter",
          "this_quarter_to_date",
          "this_year",
          "this_year_to_date",
          "yesterday",
          "last_week",
          "last_week_to_date",
          "last_month",
          "last_month_to_date",
          "last_quarter",
          "last_quarter_to_date",
          "last_year",
          "last_year_to_date",
          "next_week",
          "next_four_weeks",
          "next_month",
          "next_quarter",
          "next_year"
        ],
        "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo."
      },
      "QbdAccountType": {
        "type": "string",
        "enum": [
          "accounts_payable",
          "accounts_receivable",
          "allowed_for_1099",
          "ap_and_sales_tax",
          "ap_or_credit_card",
          "ar_and_ap",
          "asset",
          "balance_sheet",
          "bank",
          "bank_and_ar_and_ap_and_uf",
          "bank_and_uf",
          "cost_of_sales",
          "credit_card",
          "current_asset",
          "current_asset_and_expense",
          "current_liability",
          "equity",
          "equity_and_income_and_expense",
          "expense_and_other_expense",
          "fixed_asset",
          "income_and_expense",
          "income_and_other_income",
          "liability",
          "liability_and_equity",
          "long_term_liability",
          "non_posting",
          "ordinary_expense",
          "ordinary_income",
          "ordinary_income_and_cogs",
          "ordinary_income_and_expense",
          "other_asset",
          "other_current_asset",
          "other_current_liability",
          "other_expense",
          "other_income",
          "other_income_or_expense"
        ],
        "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames."
      },
      "QbdEntityType": {
        "type": "string",
        "enum": [
          "customer",
          "employee",
          "other_name",
          "vendor"
        ],
        "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames."
      },
      "QbdTransactionType": {
        "type": "string",
        "enum": [
          "all",
          "ar_refund_credit_card",
          "bill",
          "bill_payment_check",
          "bill_payment_credit_card",
          "build_assembly",
          "charge",
          "check",
          "credit_card_charge",
          "credit_card_credit",
          "credit_memo",
          "deposit",
          "estimate",
          "inventory_adjustment",
          "invoice",
          "item_receipt",
          "journal_entry",
          "liability_adjustment",
          "paycheck",
          "payroll_liability_check",
          "purchase_order",
          "receive_payment",
          "sales_order",
          "sales_receipt",
          "sales_tax_payment_check",
          "transfer",
          "vendor_credit",
          "ytd_adjustment"
        ]
      },
      "QbdDetailLevel": {
        "type": "string",
        "enum": [
          "all",
          "all_except_summary",
          "summary_only"
        ],
        "default": "all",
        "description": "Filter by report detail level."
      },
      "QbdPostingStatus": {
        "type": "string",
        "enum": [
          "either",
          "non_posting",
          "posting"
        ],
        "description": "Filter by report posting status."
      },
      "QbdSummarizeColumnsBy": {
        "type": "string",
        "enum": [
          "account",
          "balance_sheet",
          "class",
          "customer",
          "customer_type",
          "day",
          "employee",
          "four_week",
          "half_month",
          "income_statement",
          "item_detail",
          "item_type",
          "month",
          "payee",
          "payment_method",
          "payroll_item_detail",
          "payroll_ytd_detail",
          "quarter",
          "sales_representative",
          "sales_tax_code",
          "shipping_method",
          "terms",
          "total_only",
          "two_week",
          "vendor",
          "vendor_type",
          "week",
          "year"
        ],
        "description": "Filter by summarize columns by."
      },
      "QbdReportCalendar": {
        "type": "string",
        "enum": [
          "calendar_year",
          "fiscal_year",
          "tax_year"
        ],
        "description": "Filter by report calendar."
      },
      "QbdColumnsToReturn": {
        "type": "string",
        "enum": [
          "active_only",
          "non_zero",
          "all"
        ],
        "description": "Filter by return rows."
      },
      "QbdBasis": {
        "type": "string",
        "enum": [
          "accrual",
          "cash",
          "none"
        ],
        "default": "none",
        "description": "Filter by report basis."
      },
      "QbdGeneralDetailReportType": {
        "type": "string",
        "enum": [
          "1099_detail",
          "audit_trail",
          "balance_sheet_detail",
          "check_detail",
          "customer_balance_detail",
          "deposit_detail",
          "estimates_by_job",
          "expense_by_vendor_detail",
          "general_ledger",
          "income_by_customer_detail",
          "income_tax_detail",
          "inventory_valuation_detail",
          "job_progress_invoices_vs_estimates",
          "journal",
          "missing_checks",
          "open_invoices",
          "open_purchase_orders",
          "open_purchase_orders_by_job",
          "open_sales_order_by_customer",
          "open_sales_order_by_item",
          "pending_sales",
          "profit_and_loss_detail",
          "purchase_by_item_detail",
          "purchase_by_vendor_detail",
          "sales_by_customer_detail",
          "sales_by_item_detail",
          "sales_by_sales_representative_detail",
          "transaction_detail_by_account",
          "transaction_list_by_customer",
          "transaction_list_by_date",
          "transaction_list_by_vendor",
          "unpaid_bills_detail",
          "unbilled_costs_by_job",
          "vendor_balance_detail"
        ],
        "description": "Which report in this family to run."
      },
      "QbdSummarizeRowsBy": {
        "type": "string",
        "enum": [
          "account",
          "balance_sheet",
          "class",
          "customer",
          "customer_type",
          "day",
          "employee",
          "four_week",
          "half_month",
          "income_statement",
          "item_detail",
          "item_type",
          "month",
          "payee",
          "payment_method",
          "payroll_item_detail",
          "payroll_ytd_detail",
          "quarter",
          "sales_representative",
          "sales_tax_code",
          "shipping_method",
          "tax_line",
          "terms",
          "total_only",
          "two_week",
          "vendor",
          "vendor_type",
          "week",
          "year"
        ],
        "description": "Filter by summarize rows by."
      },
      "QbdIncludeColumn": {
        "type": "string",
        "enum": [
          "account",
          "aging",
          "amount",
          "amount_difference",
          "average_cost",
          "billed_date",
          "billing_status",
          "calculated_amount",
          "class",
          "cleared_status",
          "cost_price",
          "credit",
          "currency",
          "date",
          "debit",
          "delivery_date",
          "due_date",
          "estimate_active",
          "exchange_rate",
          "shipment_origin",
          "income_subject_to_tax",
          "invoiced",
          "item",
          "description",
          "last_modified_by",
          "latest_or_prior_state",
          "memo",
          "updated_at",
          "name",
          "name_account_number",
          "name_address",
          "name_city",
          "name_contact",
          "name_email",
          "name_fax",
          "name_phone",
          "name_state",
          "name_postal_code",
          "open_balance",
          "original_amount",
          "paid_amount",
          "paid_status",
          "paid_through_date",
          "payment_method",
          "payroll_item",
          "purchase_order_number",
          "print_status",
          "progress_amount",
          "progress_percent",
          "quantity",
          "quantity_available",
          "quantity_on_hand",
          "quantity_on_sales_order",
          "received_quantity",
          "ref_number",
          "running_balance",
          "sales_representative",
          "sales_tax_code",
          "serial_or_lot_number",
          "shipping_date",
          "shipping_method",
          "source_name",
          "split_account",
          "ssn_or_tax_identification_number",
          "tax_line",
          "tax_table_version",
          "terms",
          "transaction_id",
          "transaction_number",
          "transaction_type",
          "unit_price",
          "user_edit",
          "value_on_hand",
          "wage_base",
          "wage_base_tips"
        ]
      },
      "QbdAccountsToInclude": {
        "type": "string",
        "enum": [
          "all",
          "in_use"
        ],
        "description": "Filter by include accounts."
      },
      "QbdOpenBalanceAsOf": {
        "type": "string",
        "enum": [
          "report_end_date",
          "today"
        ],
        "default": "today",
        "description": "Filter by report open balance as of."
      },
      "QbdAgingReportType": {
        "type": "string",
        "enum": [
          "ap_aging_detail",
          "ap_aging_summary",
          "ar_aging_detail",
          "ar_aging_summary",
          "collections_report"
        ],
        "description": "Which report in this family to run."
      },
      "QbdBudgetSummaryReportType": {
        "type": "string",
        "enum": [
          "balance_sheet_budget_overview",
          "balance_sheet_budget_vs_actual",
          "profit_and_loss_budget_overview",
          "profit_and_loss_budget_performance",
          "profit_and_loss_budget_vs_actual"
        ],
        "description": "Which report in this family to run."
      },
      "QbdBudgetCriterion": {
        "type": "string",
        "enum": [
          "accounts",
          "accounts_and_classes",
          "accounts_and_customers"
        ],
        "description": "Filter by budget criterion."
      },
      "QbdReportSummarizeColumnsBy": {
        "type": "string",
        "enum": [
          "class",
          "customer",
          "date"
        ],
        "description": "Filter by summarize budget columns by."
      },
      "QbdReportSummarizeRowsBy": {
        "type": "string",
        "enum": [
          "account",
          "class",
          "customer"
        ],
        "description": "Filter by summarize budget rows by."
      },
      "QbdJobReportType": {
        "type": "string",
        "enum": [
          "item_estimates_vs_actuals",
          "item_profitability",
          "job_estimates_vs_actuals_detail",
          "job_estimates_vs_actuals_summary",
          "job_profitability_detail",
          "job_profitability_summary"
        ],
        "description": "Which report in this family to run."
      },
      "QbdTimeReportType": {
        "type": "string",
        "enum": [
          "time_by_item",
          "time_by_job_detail",
          "time_by_job_summary",
          "time_by_name"
        ],
        "description": "Which report in this family to run."
      },
      "QbdCustomDetailReportType": {
        "type": "string",
        "enum": [
          "custom_transaction_detail"
        ],
        "default": "custom_transaction_detail",
        "description": "Which report in this family to run. Optional: the only value, custom_transaction_detail, is the default."
      },
      "QbdCustomSummaryReportType": {
        "type": "string",
        "enum": [
          "custom_summary"
        ],
        "default": "custom_summary",
        "description": "Which report in this family to run. Optional: the only value, custom_summary, is the default."
      },
      "QbdPayrollDetailReportType": {
        "type": "string",
        "enum": [
          "employee_state_taxes_detail",
          "payroll_item_detail",
          "payroll_review_detail",
          "payroll_transaction_detail",
          "payroll_transactions_by_payee"
        ],
        "description": "Which report in this family to run."
      },
      "QbdPayrollSummaryReportType": {
        "type": "string",
        "enum": [
          "employee_earnings_summary",
          "payroll_liability_balances",
          "payroll_summary"
        ],
        "description": "Which report in this family to run."
      },
      "QbdSalesOrderList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-orders"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrder"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSalesOrder": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales order."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_order"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales order was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales order was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales order. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this sales order."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this sales order."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this sales order."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this sales order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this sales order, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this sales order."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this sales order."
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Purchase order number of this sales order."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this sales order."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this sales order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this sales order."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this sales order."
          },
          "shippingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the goods on this sales order were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The shipping method for this sales order."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total of all lines before sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this sales order."
          },
          "salesTaxPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax rate applied, as a percentage. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "salesTaxTotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this sales order as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this sales order."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this sales order's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this sales order. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "isManuallyClosed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales order is manually closed."
          },
          "isFullyInvoiced": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales order is fully invoiced."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this sales order; shown in reports, not on printed forms."
          },
          "customerMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer message for this sales order."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales order is in the queue of forms to email."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this sales order."
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other\" text field on this sales order."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this sales order, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this sales order, such as payments applied to it."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLine"
            },
            "description": "Line items of this sales order."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineGroup"
            },
            "description": "Group lines of this sales order: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales order."
          },
          "fulfillmentStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fulfillment status of this sales order.",
            "enum": [
              "status_blank=-1",
              "status_open=0",
              "status_sent_for_pick",
              "status_partially_sent_for_pick",
              "status_pick_in_progress",
              "status_partial_pick_in_progress",
              "status_partially_picked",
              "status_picked",
              "status_partially_invoiced",
              "status_invoiced",
              "status_not_picked",
              "status_sent_for_receive=20",
              "status_partially_sent_for_receive",
              "status_receive_in_progress",
              "status_partial_receive_in_progress",
              "status_partially_received",
              "status_received",
              "status_receipt_created",
              "status_partial_receipt_created",
              "status_not_received",
              "status_sent_for_pack=40",
              "status_partially_sent_for_pack",
              "status_pack_in_progress",
              "status_partial_packin_progress",
              "status_partially_packed",
              "status_packed",
              "status_notpacked",
              "status_sent_for_xpack=50",
              "status_sent_for_ship=60",
              "status_partially_sent_for_ship",
              "status_ship_in_progress",
              "status_partial_ship_in_progress",
              "status_partially_shipped",
              "status_status_shipped",
              "status_not_shipped",
              "status_complete=100"
            ],
            "x-daapi-open-enum": true,
            "x-daapi-min-qbxml-version": "15.0"
          },
          "shippingDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdShippingDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping details details for this sales order."
          },
          "salesChannelName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales channel name of this sales order.",
            "enum": [
              "blank",
              "ecommerce"
            ],
            "x-daapi-open-enum": true,
            "x-daapi-min-qbxml-version": "15.0"
          },
          "salesStoreName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales store name of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          },
          "salesStoreType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales store type of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "class",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "billingAddress",
          "shippingAddress",
          "purchaseOrderNumber",
          "terms",
          "dueDate",
          "salesRepresentative",
          "shipmentOrigin",
          "shippingDate",
          "shippingMethod",
          "subtotal",
          "salesTaxItem",
          "salesTaxPercentage",
          "salesTaxTotal",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "isManuallyClosed",
          "isFullyInvoiced",
          "memo",
          "customerMessage",
          "isQueuedForPrint",
          "isQueuedForEmail",
          "salesTaxCode",
          "otherCustomField",
          "externalId",
          "linkedTransactions",
          "lines",
          "lineGroups",
          "customFields",
          "fulfillmentStatus",
          "shippingDetails",
          "salesChannelName",
          "salesStoreName",
          "salesStoreType"
        ],
        "description": "Sales order as stored in QuickBooks Desktop."
      },
      "QbdSalesOrderLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this sales order line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_order_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this sales order line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales order line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this sales order line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this sales order line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this sales order line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this sales order line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this sales order line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this sales order line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this sales order line."
          },
          "quantityInvoiced": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity invoiced of this sales order line."
          },
          "isManuallyClosed": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales order line is manually closed."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this sales order line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this sales order line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales order line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "ratePercent",
          "class",
          "amount",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "salesTaxCode",
          "quantityInvoiced",
          "isManuallyClosed",
          "otherCustomField1",
          "otherCustomField2",
          "customFields"
        ],
        "description": "Sales order line as stored in QuickBooks Desktop."
      },
      "QbdSalesOrderLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this sales order line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_order_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this sales order line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales order line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this sales order line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLine"
            },
            "description": "Line items of this sales order line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales order line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Sales order line group as stored in QuickBooks Desktop."
      },
      "QbdShippingDetail": {
        "type": "object",
        "properties": {
          "shippingDetailsLine": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdShippingDetailsLine"
            },
            "description": "Shipping details line entries for this shipping details."
          }
        },
        "required": [
          "shippingDetailsLine"
        ],
        "description": "Shipping details as stored in QuickBooks Desktop."
      },
      "QbdShippingDetailsLine": {
        "type": "object",
        "properties": {
          "trackingId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the tracking."
          },
          "carrierName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Carrier name of this shipping details line."
          },
          "shippingMethod": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipping method of this shipping details line."
          },
          "shippingCharges": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Shipping charges of this shipping details line. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          }
        },
        "required": [
          "trackingId",
          "carrierName",
          "shippingMethod",
          "shippingCharges"
        ],
        "description": "Shipping details line as stored in QuickBooks Desktop."
      },
      "QbdSalesOrderCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this sales order.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales order.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this sales order.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this sales order, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this sales order."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this sales order."
              }
            ]
          },
          "purchaseOrderNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Purchase order number of this sales order."
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this sales order.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this sales order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this sales order.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this sales order."
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this sales order were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this sales order.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this sales order.",
            "example": "80000001-1234567890"
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this sales order is manually closed."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this sales order; shown in reports, not on printed forms."
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this sales order.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this sales order is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales order.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this sales order."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this sales order's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this sales order, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineCreateInput"
            },
            "description": "Line items of this sales order."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineGroupCreateInput"
            },
            "description": "Group lines of this sales order: each expands an item group into its component lines."
          },
          "salesChannelName": {
            "type": "string",
            "enum": [
              "blank",
              "ecommerce"
            ],
            "description": "Sales channel name of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          },
          "salesStoreName": {
            "type": "string",
            "description": "Sales store name of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          },
          "salesStoreType": {
            "type": "string",
            "description": "Sales store type of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          }
        },
        "required": [
          "customerId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales order. Requires at least one of: lines or lineGroups."
      },
      "QbdSalesOrderLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this sales order line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this sales order line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this sales order line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales order line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this sales order line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales order line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales order line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this sales order line. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this sales order line. Cannot be combined with serialNumber."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales order line.",
            "example": "80000001-1234567890"
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this sales order line is manually closed."
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this sales order line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this sales order line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this sales order line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a sales order line."
      },
      "QbdSalesOrderLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this sales order line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales order line group.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales order line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this sales order line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales order line group."
      },
      "QbdSalesOrderUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales order. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this sales order.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales order.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this sales order.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales order (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this sales order, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this sales order."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this sales order."
              }
            ]
          },
          "purchaseOrderNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Purchase order number of this sales order.",
            "x-daapi-clearable": true
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this sales order.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this sales order is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this sales order.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this sales order.",
            "x-daapi-clearable": true
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this sales order were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this sales order.",
            "example": "80000001-1234567890"
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this sales order.",
            "example": "80000001-1234567890"
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this sales order is manually closed."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this sales order; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this sales order.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales order is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this sales order is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales order.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this sales order.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this sales order's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineUpdateInput"
            },
            "description": "Line items of this sales order. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the sales order first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the sales order keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineGroupUpdateInput"
            },
            "description": "Group lines of this sales order: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the sales order first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the sales order keeps at least one line."
          },
          "salesChannelName": {
            "type": "string",
            "enum": [
              "blank",
              "ecommerce"
            ],
            "description": "Sales channel name of this sales order.",
            "x-daapi-min-qbxml-version": "15.0"
          },
          "salesStoreName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales store name of this sales order.",
            "x-daapi-min-qbxml-version": "15.0",
            "x-daapi-clearable": true
          },
          "salesStoreType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales store type of this sales order.",
            "x-daapi-min-qbxml-version": "15.0",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales order."
      },
      "QbdSalesOrderLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this sales order line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this sales order line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this sales order line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this sales order line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this sales order line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales order line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this sales order line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales order line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales order line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this sales order line. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this sales order line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales order line.",
            "example": "80000001-1234567890"
          },
          "isManuallyClosed": {
            "type": "boolean",
            "description": "Whether this sales order line is manually closed."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this sales order line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this sales order line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales order line."
      },
      "QbdSalesOrderLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this sales order line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this sales order line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this sales order line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesOrderLineUpdateInput"
            },
            "description": "Line items of this sales order line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales order line group."
      },
      "QbdSalesOrderDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_order"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdSalesReceiptList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-receipts"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceipt"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSalesReceipt": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales receipt."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_receipt"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales receipt was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales receipt was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales receipt. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this sales receipt."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this sales receipt."
          },
          "documentTemplate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The document template for this sales receipt."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this sales receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this sales receipt, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this sales receipt."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this sales receipt."
          },
          "isPending": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales receipt is pending (not yet final) and does not post to accounts."
          },
          "checkNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Check number of this sales receipt."
          },
          "paymentMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payment method for this sales receipt."
          },
          "dueDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date payment of this sales receipt is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales representative for this sales receipt."
          },
          "shippingDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the goods on this sales receipt were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethod": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The shipping method for this sales receipt."
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "description": "Shipment origin of this sales receipt."
          },
          "subtotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total of all lines before sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this sales receipt."
          },
          "salesTaxPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sales tax rate applied, as a percentage. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "salesTaxTotal": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total sales tax, as a decimal string.",
            "example": "1250.00"
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this sales receipt as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this sales receipt."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this sales receipt's currency to the home currency."
          },
          "totalAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount in home currency of this sales receipt. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this sales receipt; shown in reports, not on printed forms."
          },
          "customerMessage": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer message for this sales receipt."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales receipt is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales receipt is in the queue of forms to email."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this sales receipt."
          },
          "depositToAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The deposit to account for this sales receipt."
          },
          "creditCardTransaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransaction"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card transaction details for this sales receipt."
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other\" text field on this sales receipt."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this sales receipt, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLine"
            },
            "description": "Line items of this sales receipt."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineGroup"
            },
            "description": "Group lines of this sales receipt: each expands an item group into its component lines."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales receipt."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "customer",
          "class",
          "documentTemplate",
          "transactionDate",
          "refNumber",
          "billingAddress",
          "shippingAddress",
          "isPending",
          "checkNumber",
          "paymentMethod",
          "dueDate",
          "salesRepresentative",
          "shippingDate",
          "shippingMethod",
          "shipmentOrigin",
          "subtotal",
          "salesTaxItem",
          "salesTaxPercentage",
          "salesTaxTotal",
          "totalAmount",
          "currency",
          "exchangeRate",
          "totalAmountInHomeCurrency",
          "memo",
          "customerMessage",
          "isQueuedForPrint",
          "isQueuedForEmail",
          "salesTaxCode",
          "depositToAccount",
          "creditCardTransaction",
          "otherCustomField",
          "externalId",
          "lines",
          "lineGroups",
          "customFields"
        ],
        "description": "Sales receipt as stored in QuickBooks Desktop."
      },
      "QbdSalesReceiptLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this sales receipt line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_receipt_line"
            ],
            "description": "Type of this object."
          },
          "item": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item for this sales receipt line."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales receipt line."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "rate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price per unit, as a decimal string.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": [
              "string",
              "null"
            ],
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this sales receipt line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "inventorySite": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site for this sales receipt line."
          },
          "inventorySiteLocation": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The inventory site location for this sales receipt line."
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Serial number of this sales receipt line."
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Lot number of this sales receipt line."
          },
          "expirationDate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Expiration date of this sales receipt line.",
            "x-daapi-min-qbxml-version": "16.0"
          },
          "serviceDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this sales receipt line."
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 1\" text field on this sales receipt line."
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "description": "Built-in \"Other 2\" text field on this sales receipt line."
          },
          "creditCardTransaction": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransaction"
              },
              {
                "type": "null"
              }
            ],
            "description": "Credit card transaction details for this sales receipt line."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales receipt line."
          }
        },
        "required": [
          "id",
          "objectType",
          "item",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "rate",
          "ratePercent",
          "class",
          "amount",
          "inventorySite",
          "inventorySiteLocation",
          "serialNumber",
          "lotNumber",
          "expirationDate",
          "serviceDate",
          "salesTaxCode",
          "otherCustomField1",
          "otherCustomField2",
          "creditCardTransaction",
          "customFields"
        ],
        "description": "Sales receipt line as stored in QuickBooks Desktop."
      },
      "QbdSalesReceiptLineGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this sales receipt line group."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_receipt_line_group"
            ],
            "description": "Type of this object."
          },
          "itemGroup": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The item group for this sales receipt line group."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales receipt line group."
          },
          "quantity": {
            "type": [
              "number",
              "null"
            ],
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure for the quantity."
          },
          "overrideUnitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Unit of measure set that overrides the item default on this line."
          },
          "shouldPrintItemsInGroup": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether to print items in group."
          },
          "totalAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Total amount of this sales receipt line group as a decimal string.",
            "example": "1250.00"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLine"
            },
            "description": "Line items of this sales receipt line group."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales receipt line group."
          }
        },
        "required": [
          "id",
          "objectType",
          "itemGroup",
          "description",
          "quantity",
          "unitOfMeasure",
          "overrideUnitOfMeasureSet",
          "shouldPrintItemsInGroup",
          "totalAmount",
          "lines",
          "customFields"
        ],
        "description": "Sales receipt line group as stored in QuickBooks Desktop."
      },
      "QbdSalesReceiptCreateInput": {
        "type": "object",
        "properties": {
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 11,
            "description": "Reference number of this sales receipt, such as an invoice or check number. Case-sensitive."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this sales receipt."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this sales receipt."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this sales receipt is pending (not yet final) and does not post to accounts."
          },
          "checkNumber": {
            "type": "string",
            "maxLength": 25,
            "description": "Check number of this sales receipt."
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this sales receipt is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this sales receipt were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": "string",
            "maxLength": 13,
            "description": "Shipment origin of this sales receipt."
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this sales receipt; shown in reports, not on printed forms."
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales receipt is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this sales receipt is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "creditCardTransaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransactionCreateInput"
              },
              {
                "description": "Credit card transaction details for this sales receipt."
              }
            ]
          },
          "otherCustomField": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this sales receipt."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this sales receipt's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this sales receipt, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineCreateInput"
            },
            "description": "Line items of this sales receipt."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineGroupCreateInput"
            },
            "description": "Group lines of this sales receipt: each expands an item group into its component lines."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a sales receipt. Requires at least one of: lines or lineGroups."
      },
      "QbdSalesReceiptLineCreateInput": {
        "type": "object",
        "properties": {
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this sales receipt line."
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this sales receipt line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this sales receipt line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": "string",
            "maxLength": 4095,
            "description": "Serial number of this sales receipt line. Cannot be combined with lotNumber."
          },
          "lotNumber": {
            "type": "string",
            "maxLength": 40,
            "description": "Lot number of this sales receipt line. Cannot be combined with serialNumber."
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this sales receipt line."
          },
          "otherCustomField2": {
            "type": "string",
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this sales receipt line."
          },
          "creditCardTransaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdCreditCardTransactionCreateInput"
              },
              {
                "description": "Credit card transaction details for this sales receipt line."
              }
            ]
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this sales receipt line."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a sales receipt line."
      },
      "QbdSalesReceiptLineGroupCreateInput": {
        "type": "object",
        "properties": {
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this sales receipt line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of measure for the quantity."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales receipt line group.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales receipt line group.",
            "example": "80000001-1234567890"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomFieldCreateInput"
            },
            "description": "Custom field values QuickBooks stores on this sales receipt line group."
          }
        },
        "required": [
          "itemGroupId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales receipt line group."
      },
      "QbdSalesReceiptUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales receipt. Send it unchanged when updating; a stale value is rejected."
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "documentTemplateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the document template for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales receipt (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 11,
            "description": "Reference number of this sales receipt, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this sales receipt."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this sales receipt."
              }
            ]
          },
          "isPending": {
            "type": "boolean",
            "description": "Whether this sales receipt is pending (not yet final) and does not post to accounts."
          },
          "checkNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Check number of this sales receipt.",
            "x-daapi-clearable": true
          },
          "paymentMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payment method for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "dueDate": {
            "type": "string",
            "format": "date",
            "description": "Date payment of this sales receipt is due (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesRepresentativeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales representative for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "shippingDate": {
            "type": "string",
            "format": "date",
            "description": "Date the goods on this sales receipt were or will be shipped (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "shippingMethodId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the shipping method for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "shipmentOrigin": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 13,
            "description": "Shipment origin of this sales receipt.",
            "x-daapi-clearable": true
          },
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this sales receipt; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "customerMessageId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer message for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales receipt is in the queue of forms to print."
          },
          "isQueuedForEmail": {
            "type": "boolean",
            "description": "Whether this sales receipt is in the queue of forms to email."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "depositToAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the deposit to account for this sales receipt.",
            "example": "80000001-1234567890"
          },
          "otherCustomField": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other\" text field on this sales receipt.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this sales receipt's currency to the home currency."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineUpdateInput"
            },
            "description": "Line items of this sales receipt. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lineGroups: the API then reads the sales receipt first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the sales receipt keeps at least one line."
          },
          "lineGroups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineGroupUpdateInput"
            },
            "description": "Group lines of this sales receipt: each expands an item group into its component lines. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send lines: the API then reads the sales receipt first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the sales receipt keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales receipt."
      },
      "QbdSalesReceiptLineUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this sales receipt line. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this sales receipt line.",
            "x-daapi-clearable": true
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "rate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price per unit, as a decimal string. Cannot be combined with ratePercent, priceLevelId.",
            "example": "19.99"
          },
          "ratePercent": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Price as a percentage, for percentage-based items. Percentage as a decimal string: \"7.5\" means 7.5 %. Cannot be combined with rate, priceLevelId.",
            "example": "7.5"
          },
          "priceLevelId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the price level for this sales receipt line. Cannot be combined with rate, ratePercent.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "priceRuleConflictStrategy": {
            "type": "string",
            "enum": [
              "zero",
              "base_price"
            ],
            "description": "Price rule conflict strategy of this sales receipt line."
          },
          "inventorySiteId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "inventorySiteLocationId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the inventory site location for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "serialNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Serial number of this sales receipt line. Cannot be combined with lotNumber.",
            "x-daapi-clearable": true
          },
          "lotNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 40,
            "description": "Lot number of this sales receipt line. Cannot be combined with serialNumber.",
            "x-daapi-clearable": true
          },
          "serviceDate": {
            "type": "string",
            "format": "date",
            "description": "Date the service was performed (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "overrideItemAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override item account for this sales receipt line.",
            "example": "80000001-1234567890"
          },
          "otherCustomField1": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 1\" text field on this sales receipt line.",
            "x-daapi-clearable": true
          },
          "otherCustomField2": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 29,
            "description": "Built-in \"Other 2\" text field on this sales receipt line.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales receipt line."
      },
      "QbdSalesReceiptLineGroupUpdateInput": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "QuickBooks-assigned ID of this sales receipt line group. Use \"-1\" to add a new line.",
            "example": "80000001-1234567890"
          },
          "itemGroupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the item group for this sales receipt line group.",
            "example": "80000001-1234567890"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity of the item."
          },
          "unitOfMeasure": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Unit of measure for the quantity.",
            "x-daapi-clearable": true
          },
          "overrideUnitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the override unit of measure set for this sales receipt line group.",
            "example": "80000001-1234567890"
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesReceiptLineUpdateInput"
            },
            "description": "Line items of this sales receipt line group. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          }
        },
        "required": [
          "id"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales receipt line group."
      },
      "QbdSalesReceiptDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_receipt"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdSalesReceiptVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_receipt"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdSalesRepresentativeList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-representatives"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesRepresentative"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdSalesRepresentative": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales representative."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_representative"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales representative was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales representative was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales representative. Send it unchanged when updating; a stale value is rejected."
          },
          "initial": {
            "type": [
              "string",
              "null"
            ],
            "description": "Initial of this sales representative."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales representative is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this sales representative."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "initial",
          "isActive",
          "entity"
        ],
        "description": "Sales representative as stored in QuickBooks Desktop."
      },
      "QbdSalesRepresentativeCreateInput": {
        "type": "object",
        "properties": {
          "initial": {
            "type": "string",
            "maxLength": 5,
            "description": "Initial of this sales representative."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales representative is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this sales representative.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "initial",
          "entityId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales representative."
      },
      "QbdSalesRepresentativeUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales representative. Send it unchanged when updating; a stale value is rejected."
          },
          "initial": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Initial of this sales representative.",
            "x-daapi-clearable": true
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales representative is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this sales representative.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales representative."
      },
      "QbdSalesTaxCodeList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-tax-codes"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxCode"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdSalesTaxCode": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales tax code."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_code"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax code was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax code was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales tax code. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this sales tax code, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax code is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "isTaxable": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax code is taxable."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales tax code."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "isTaxable",
          "description"
        ],
        "description": "Sales tax code as stored in QuickBooks Desktop."
      },
      "QbdSalesTaxCodeCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 3,
            "description": "Name of this sales tax code, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax code is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "isTaxable": {
            "type": "boolean",
            "description": "Whether this sales tax code is taxable."
          },
          "description": {
            "type": "string",
            "maxLength": 31,
            "description": "Description of this sales tax code."
          }
        },
        "required": [
          "name",
          "isTaxable"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales tax code."
      },
      "QbdSalesTaxCodeUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales tax code. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 3,
            "description": "Name of this sales tax code, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax code is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "isTaxable": {
            "type": "boolean",
            "description": "Whether this sales tax code is taxable."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 31,
            "description": "Description of this sales tax code.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales tax code."
      },
      "QbdSalesTaxGroupItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-tax-group-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxGroupItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSalesTaxGroupItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales tax group item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_group_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax group item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax group item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales tax group item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this sales tax group item, unique within its parent level."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this sales tax group item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax group item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales tax group item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this sales tax group item, stored by QuickBooks so you can match records with your system."
          },
          "salesTaxItems": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReference"
                },
                {
                  "description": "The sales tax items for this sales tax group item."
                }
              ]
            },
            "description": "The sales tax items for this sales tax group item."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales tax group item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "barcode",
          "isActive",
          "description",
          "externalId",
          "salesTaxItems",
          "customFields"
        ],
        "description": "Sales tax group item as stored in QuickBooks Desktop."
      },
      "QbdSalesTaxGroupItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this sales tax group item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this sales tax group item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax group item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this sales tax group item."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this sales tax group item, stored by QuickBooks so you can match records with your system."
          },
          "salesTaxItemIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "ID of the sales tax item for this sales tax group item. Send each ID once.",
              "example": "80000001-1234567890"
            },
            "description": "ID of the sales tax item for this sales tax group item. Send each ID once."
          }
        },
        "required": [
          "name",
          "salesTaxItemIds"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales tax group item."
      },
      "QbdSalesTaxGroupItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales tax group item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this sales tax group item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this sales tax group item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax group item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this sales tax group item.",
            "x-daapi-clearable": true
          },
          "salesTaxItemIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "ID of the sales tax item for this sales tax group item. Send each ID once.",
              "example": "80000001-1234567890"
            },
            "description": "ID of the sales tax item for this sales tax group item. Send each ID once."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales tax group item."
      },
      "QbdSalesTaxItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-tax-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSalesTaxItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales tax item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales tax item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this sales tax item, unique within its parent level."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this sales tax item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this sales tax item."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this sales tax item."
          },
          "taxRate": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax rate of this sales tax item. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "taxVendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The tax vendor for this sales tax item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this sales tax item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales tax item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "barcode",
          "isActive",
          "class",
          "description",
          "taxRate",
          "taxVendor",
          "externalId",
          "customFields"
        ],
        "description": "Sales tax item as stored in QuickBooks Desktop."
      },
      "QbdSalesTaxItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this sales tax item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this sales tax item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales tax item.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this sales tax item."
          },
          "taxRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Tax rate of this sales tax item. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "taxVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the tax vendor for this sales tax item.",
            "example": "80000001-1234567890"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this sales tax item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales tax item."
      },
      "QbdSalesTaxItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales tax item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this sales tax item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this sales tax item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this sales tax item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this sales tax item.",
            "example": "80000001-1234567890"
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this sales tax item.",
            "x-daapi-clearable": true
          },
          "taxRate": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Tax rate of this sales tax item. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          },
          "taxVendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the tax vendor for this sales tax item.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales tax item."
      },
      "QbdSalesTaxPaymentCheckList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/sales-tax-payment-checks"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxPaymentCheck"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSalesTaxPaymentCheck": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this sales tax payment check."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_payment_check"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax payment check was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this sales tax payment check was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this sales tax payment check. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this sales tax payment check."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this sales tax payment check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The bank account for this sales tax payment check."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this sales tax payment check, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this sales tax payment check; shown in reports, not on printed forms."
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Address details for this sales tax payment check."
          },
          "isQueuedForPrint": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this sales tax payment check is in the queue of forms to print."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this sales tax payment check, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckLine"
            },
            "description": "Line items of this sales tax payment check."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this sales tax payment check."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "transactionDate",
          "bankAccount",
          "amount",
          "refNumber",
          "memo",
          "address",
          "isQueuedForPrint",
          "externalId",
          "lines",
          "customFields"
        ],
        "description": "Sales tax payment check as stored in QuickBooks Desktop."
      },
      "QbdSalesTaxPaymentCheckLine": {
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "string",
              "null"
            ],
            "description": "QuickBooks-assigned ID of this sales tax payment check line."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_payment_check_line"
            ],
            "description": "Type of this object."
          },
          "salesTaxItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax item for this sales tax payment check line."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "id",
          "objectType",
          "salesTaxItem",
          "amount"
        ],
        "description": "Sales tax payment check line as stored in QuickBooks Desktop."
      },
      "QbdSalesTaxPaymentCheckCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this sales tax payment check.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales tax payment check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this sales tax payment check.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales tax payment check is in the queue of forms to print. Cannot be combined with refNumber."
          },
          "refNumber": {
            "type": "string",
            "description": "Reference number of this sales tax payment check, such as an invoice or check number. Case-sensitive. Cannot be combined with isQueuedForPrint."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this sales tax payment check; shown in reports, not on printed forms."
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Address details for this sales tax payment check."
              }
            ]
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this sales tax payment check, stored by QuickBooks so you can match records with your system."
          },
          "lines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckLineCreateInput"
            },
            "description": "Line items of this sales tax payment check."
          }
        },
        "required": [
          "vendorId",
          "transactionDate",
          "bankAccountId",
          "lines"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales tax payment check. Requires at least one of: isQueuedForPrint or refNumber."
      },
      "QbdSalesTaxPaymentCheckLineCreateInput": {
        "type": "object",
        "properties": {
          "salesTaxItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax item for this sales tax payment check line.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          }
        },
        "required": [
          "amount"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a sales tax payment check line."
      },
      "QbdSalesTaxPaymentCheckUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this sales tax payment check. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this sales tax payment check (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "bankAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the bank account for this sales tax payment check.",
            "example": "80000001-1234567890"
          },
          "isQueuedForPrint": {
            "type": "boolean",
            "description": "Whether this sales tax payment check is in the queue of forms to print. Cannot be combined with refNumber."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this sales tax payment check, such as an invoice or check number. Case-sensitive. Cannot be combined with isQueuedForPrint.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this sales tax payment check; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "address": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Address details for this sales tax payment check."
              }
            ]
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a sales tax payment check."
      },
      "QbdSalesTaxPaymentCheckDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_sales_tax_payment_check"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdServiceItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/service-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdServiceItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdServiceItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this service item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_service_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this service item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this service item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this service item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this service item, unique within its parent level."
          },
          "fullName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full hierarchical name of this service item: parent names and its own name separated by colons."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this service item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this service item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this service item."
          },
          "parent": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Parent object one level up in the hierarchy, or null at the top level."
          },
          "sublevel": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Depth in the hierarchy: 0 for top-level objects, 1 for their children and so on."
          },
          "unitOfMeasureSet": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The unit of measure set for this service item."
          },
          "salesTaxCode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The sales tax code for this service item."
          },
          "salesOrPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales or purchase details details for this service item."
          },
          "salesAndPurchaseDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetail"
              },
              {
                "type": "null"
              }
            ],
            "description": "Sales and purchase details details for this service item."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this service item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this service item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "fullName",
          "barcode",
          "isActive",
          "class",
          "parent",
          "sublevel",
          "unitOfMeasureSet",
          "salesTaxCode",
          "salesOrPurchaseDetails",
          "salesAndPurchaseDetails",
          "externalId",
          "customFields"
        ],
        "description": "Service item as stored in QuickBooks Desktop."
      },
      "QbdServiceItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this service item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this service item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this service item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this service item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this service item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this service item.",
            "example": "80000001-1234567890"
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this service item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailCreateInput"
              },
              {
                "description": "Sales or purchase details details for this service item. Cannot be combined with salesAndPurchaseDetails."
              }
            ]
          },
          "salesAndPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailCreateInput"
              },
              {
                "description": "Sales and purchase details details for this service item. Cannot be combined with salesOrPurchaseDetails."
              }
            ]
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this service item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a service item. Requires at least one of: salesOrPurchaseDetails or salesAndPurchaseDetails."
      },
      "QbdServiceItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this service item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this service item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this service item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this service item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this service item.",
            "example": "80000001-1234567890"
          },
          "parentId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the parent object, making this service item a child in the hierarchy.",
            "example": "80000001-1234567890"
          },
          "unitOfMeasureSetId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the unit of measure set for this service item.",
            "example": "80000001-1234567890"
          },
          "forceUnitOfMeasureChange": {
            "type": "boolean",
            "description": "Force unit of measure change of this service item."
          },
          "salesTaxCodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the sales tax code for this service item.",
            "example": "80000001-1234567890"
          },
          "salesOrPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesOrPurchaseDetailUpdateInput"
              },
              {
                "description": "Sales or purchase details details for this service item. Cannot be combined with salesAndPurchaseDetails."
              }
            ]
          },
          "salesAndPurchaseDetails": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdSalesAndPurchaseDetailUpdateInput"
              },
              {
                "description": "Sales and purchase details details for this service item. Cannot be combined with salesOrPurchaseDetails."
              }
            ]
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a service item."
      },
      "QbdShippingMethodList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/shipping-methods"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdShippingMethod"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdShippingMethod": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this shipping method."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_shipping_method"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this shipping method was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this shipping method was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this shipping method. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this shipping method, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this shipping method is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive"
        ],
        "description": "Shipping method as stored in QuickBooks Desktop."
      },
      "QbdShippingMethodCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 15,
            "description": "Name of this shipping method, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this shipping method is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a shipping method."
      },
      "QbdStandardTermList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/standard-terms"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdStandardTerm"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdStandardTerm": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this standard term."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_standard_term"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this standard term was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this standard term was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this standard term. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this standard term, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this standard term is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "dueDays": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Due days of this standard term."
          },
          "discountDays": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Discount days of this standard term."
          },
          "discountPercentage": {
            "type": [
              "string",
              "null"
            ],
            "description": "Discount percentage of this standard term. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "dueDays",
          "discountDays",
          "discountPercentage"
        ],
        "description": "Standard term as stored in QuickBooks Desktop."
      },
      "QbdStandardTermCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this standard term, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this standard term is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "dueDays": {
            "type": "integer",
            "description": "Due days of this standard term."
          },
          "discountDays": {
            "type": "integer",
            "description": "Discount days of this standard term."
          },
          "discountPercentage": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Discount percentage of this standard term. Percentage as a decimal string: \"7.5\" means 7.5 %.",
            "example": "7.5"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a standard term."
      },
      "QbdSubtotalItemList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/subtotal-items"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdSubtotalItem"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdSubtotalItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this subtotal item."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_subtotal_item"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this subtotal item was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this subtotal item was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this subtotal item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this subtotal item, unique within its parent level."
          },
          "barcode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Barcode of this subtotal item."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this subtotal item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "description": "Description of this subtotal item."
          },
          "specialItemType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Special item type of this subtotal item.",
            "enum": [
              "finance_charge",
              "reimbursable_expense_group",
              "reimbursable_expense_subtotal"
            ],
            "x-daapi-open-enum": true
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this subtotal item, stored by QuickBooks so you can match records with your system."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this subtotal item."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "barcode",
          "isActive",
          "description",
          "specialItemType",
          "externalId",
          "customFields"
        ],
        "description": "Subtotal item as stored in QuickBooks Desktop."
      },
      "QbdSubtotalItemCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this subtotal item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeCreateInput"
              },
              {
                "description": "Barcode details for this subtotal item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this subtotal item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": "string",
            "maxLength": 4095,
            "description": "Description of this subtotal item."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this subtotal item, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a subtotal item."
      },
      "QbdSubtotalItemUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this subtotal item. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this subtotal item, unique within its parent level."
          },
          "barcode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdBarcodeUpdateInput"
              },
              {
                "description": "Barcode details for this subtotal item."
              }
            ]
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this subtotal item is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "description": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Description of this subtotal item.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a subtotal item."
      },
      "QbdTemplateList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/templates"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdTemplate"
            },
            "description": "Every matching object."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Always null: this list has no further pages."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Always false: this list has no further pages."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Always 0: no records remain."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Always null."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdTemplate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this template."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_template"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this template was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this template was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this template. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this template, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this template is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "templateType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Template type of this template.",
            "enum": [
              "build_assembly",
              "credit_memo",
              "estimate",
              "invoice",
              "purchase_order",
              "sales_order",
              "sales_receipt",
              "payment_receipt",
              "bill_payment"
            ],
            "x-daapi-open-enum": true
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "templateType"
        ],
        "description": "Template as stored in QuickBooks Desktop."
      },
      "QbdTimeTrackingActivityList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/time-tracking-activities"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdTimeTrackingActivity"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdTimeTrackingActivity": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this time tracking activity."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_time_tracking_activity"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this time tracking activity was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this time tracking activity was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this time tracking activity. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this time tracking activity (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this time tracking activity."
          },
          "customer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The customer for this time tracking activity."
          },
          "serviceItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The service item for this time tracking activity."
          },
          "duration": {
            "type": [
              "string",
              "null"
            ],
            "description": "Duration of this time tracking activity."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this time tracking activity."
          },
          "payrollWageItem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payroll wage item for this time tracking activity."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this time tracking activity."
          },
          "billingStatus": {
            "type": [
              "string",
              "null"
            ],
            "description": "Whether this line can be billed to a customer.",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "x-daapi-open-enum": true
          },
          "isBilled": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this time tracking activity has been billed to the customer. Taken from QuickBooks when it reports it, otherwise derived from billingStatus."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this time tracking activity, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "transactionDate",
          "entity",
          "customer",
          "serviceItem",
          "duration",
          "class",
          "payrollWageItem",
          "note",
          "billingStatus",
          "isBilled",
          "externalId"
        ],
        "description": "Time tracking activity as stored in QuickBooks Desktop."
      },
      "QbdTimeTrackingActivityCreateInput": {
        "type": "object",
        "properties": {
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this time tracking activity (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "serviceItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the service item for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "duration": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Duration of this time tracking activity.",
            "example": "PT1H30M"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "payrollWageItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payroll wage item for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this time tracking activity."
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this time tracking activity, stored by QuickBooks so you can match records with your system."
          }
        },
        "required": [
          "entityId",
          "duration"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a time tracking activity."
      },
      "QbdTimeTrackingActivityUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this time tracking activity. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this time tracking activity (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "entityId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the entity for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "customerId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the customer for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "serviceItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the service item for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "duration": {
            "type": "string",
            "pattern": "^[+-]?PT(\\d+H)?(\\d+M)?(\\d+S)?$",
            "description": "Duration of this time tracking activity.",
            "example": "PT1H30M"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "payrollWageItemId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payroll wage item for this time tracking activity.",
            "example": "80000001-1234567890"
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Note for this time tracking activity.",
            "x-daapi-clearable": true
          },
          "billingStatus": {
            "type": "string",
            "enum": [
              "billable",
              "not_billable",
              "has_been_billed"
            ],
            "description": "Whether this line can be billed to a customer."
          }
        },
        "required": [
          "revisionNumber",
          "entityId",
          "duration"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a time tracking activity."
      },
      "QbdTimeTrackingActivityDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_time_tracking_activity"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdTransactionList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/transactions"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdTransaction"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdTransaction": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_transaction"
            ],
            "description": "Type of this object."
          },
          "transactionType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction type of this transaction.",
            "enum": [
              "ar_refund_credit_card",
              "bill",
              "bill_payment_check",
              "bill_payment_credit_card",
              "build_assembly",
              "charge",
              "check",
              "credit_card_charge",
              "credit_card_credit",
              "credit_memo",
              "deposit",
              "estimate",
              "inventory_adjustment",
              "invoice",
              "item_receipt",
              "journal_entry",
              "liability_adjustment",
              "paycheck",
              "payroll_liability_check",
              "purchase_order",
              "receive_payment",
              "sales_order",
              "sales_receipt",
              "sales_tax_payment_check",
              "transfer",
              "vendor_credit",
              "ytd_adjustment"
            ],
            "x-daapi-open-enum": true
          },
          "transactionId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the transaction."
          },
          "transactionLineId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the transaction line."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this transaction was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this transaction was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The entity for this transaction."
          },
          "account": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The account for this transaction."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this transaction (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this transaction, such as an invoice or check number. Case-sensitive."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this transaction."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this transaction's currency to the home currency."
          },
          "amountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount in home currency of this transaction. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this transaction; shown in reports, not on printed forms."
          }
        },
        "required": [
          "objectType",
          "transactionType",
          "transactionId",
          "transactionLineId",
          "createdAt",
          "updatedAt",
          "entity",
          "account",
          "transactionDate",
          "refNumber",
          "amount",
          "currency",
          "exchangeRate",
          "amountInHomeCurrency",
          "memo"
        ],
        "description": "Transaction as stored in QuickBooks Desktop."
      },
      "QbdTransactionDetailLevel": {
        "type": "string",
        "enum": [
          "all",
          "transactions_without_lines",
          "transaction_lines_only"
        ],
        "default": "transactions_without_lines",
        "description": "Filter by detail level. Cannot be combined with ids."
      },
      "QbdTransactionPaymentStatus": {
        "type": "string",
        "enum": [
          "either",
          "closed",
          "open"
        ],
        "default": "either",
        "description": "Filter transactions by payment state. Cannot be combined with ids."
      },
      "QbdTransferList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/transfers"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdTransfer"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdTransfer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this transfer."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_transfer"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this transfer was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this transfer was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this transfer. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this transfer (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "sourceAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The source account for this transfer."
          },
          "sourceAccountBalance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Source account balance of this transfer. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "targetAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The target account for this transfer."
          },
          "targetAccountBalance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Target account balance of this transfer. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this transfer."
          },
          "amount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this transfer; shown in reports, not on printed forms."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "transactionDate",
          "sourceAccount",
          "sourceAccountBalance",
          "targetAccount",
          "targetAccountBalance",
          "class",
          "amount",
          "memo"
        ],
        "description": "Transfer as stored in QuickBooks Desktop."
      },
      "QbdTransferCreateInput": {
        "type": "object",
        "properties": {
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this transfer (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "sourceAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the source account for this transfer.",
            "example": "80000001-1234567890"
          },
          "targetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the target account for this transfer.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this transfer.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this transfer; shown in reports, not on printed forms."
          }
        },
        "additionalProperties": false,
        "description": "Fields for creating a transfer."
      },
      "QbdTransferUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this transfer. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this transfer (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "sourceAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the source account for this transfer.",
            "example": "80000001-1234567890"
          },
          "targetAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the target account for this transfer.",
            "example": "80000001-1234567890"
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this transfer.",
            "example": "80000001-1234567890"
          },
          "amount": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Amount as a decimal string.",
            "example": "1250.00"
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this transfer; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a transfer."
      },
      "QbdUnitOfMeasureSetList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/unit-of-measure-sets"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdUnitOfMeasureSet"
            },
            "description": "Every matching object."
          }
        },
        "required": [
          "objectType",
          "url",
          "data"
        ]
      },
      "QbdUnitOfMeasureSet": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this unit of measure set."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_unit_of_measure_set"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this unit of measure set was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this unit of measure set was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this unit of measure set. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this unit of measure set, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this unit of measure set is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "unitOfMeasureType": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measure type of this unit of measure set.",
            "enum": [
              "area",
              "count",
              "length",
              "other",
              "time",
              "volume",
              "weight"
            ],
            "x-daapi-open-enum": true
          },
          "baseUnit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdBaseUnit"
              },
              {
                "type": "null"
              }
            ],
            "description": "Base unit details for this unit of measure set."
          },
          "relatedUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdRelatedUnit"
            },
            "description": "Related units entries for this unit of measure set."
          },
          "defaultUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDefaultUnit"
            },
            "description": "Default units entries for this unit of measure set."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "unitOfMeasureType",
          "baseUnit",
          "relatedUnits",
          "defaultUnits"
        ],
        "description": "Unit of measure set as stored in QuickBooks Desktop."
      },
      "QbdBaseUnit": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this base unit, unique within its parent level."
          },
          "abbreviation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Abbreviation of this base unit."
          }
        },
        "required": [
          "name",
          "abbreviation"
        ],
        "description": "Base unit as stored in QuickBooks Desktop."
      },
      "QbdRelatedUnit": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this related unit, unique within its parent level."
          },
          "abbreviation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Abbreviation of this related unit."
          },
          "conversionRatio": {
            "type": [
              "string",
              "null"
            ],
            "description": "Conversion ratio of this related unit. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          }
        },
        "required": [
          "name",
          "abbreviation",
          "conversionRatio"
        ],
        "description": "Related unit as stored in QuickBooks Desktop."
      },
      "QbdDefaultUnit": {
        "type": "object",
        "properties": {
          "unitUsedFor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit used for of this default unit.",
            "enum": [
              "purchase",
              "sales",
              "shipping"
            ],
            "x-daapi-open-enum": true
          },
          "unit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of this default unit."
          }
        },
        "required": [
          "unitUsedFor",
          "unit"
        ],
        "description": "Default unit as stored in QuickBooks Desktop."
      },
      "QbdUnitOfMeasureSetCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this unit of measure set, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this unit of measure set is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "unitOfMeasureType": {
            "type": "string",
            "enum": [
              "area",
              "count",
              "length",
              "other",
              "time",
              "volume",
              "weight"
            ],
            "description": "Unit of measure type of this unit of measure set."
          },
          "baseUnit": {
            "$ref": "#/components/schemas/QbdBaseUnitCreateInput"
          },
          "relatedUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdRelatedUnitCreateInput"
            },
            "description": "Related units entries for this unit of measure set."
          },
          "defaultUnits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdDefaultUnitCreateInput"
            },
            "description": "Default units entries for this unit of measure set."
          }
        },
        "required": [
          "name",
          "unitOfMeasureType",
          "baseUnit"
        ],
        "additionalProperties": false,
        "description": "Fields for creating an unit of measure set."
      },
      "QbdBaseUnitCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this base unit, unique within its parent level."
          },
          "abbreviation": {
            "type": "string",
            "maxLength": 31,
            "description": "Abbreviation of this base unit."
          }
        },
        "required": [
          "name",
          "abbreviation"
        ],
        "additionalProperties": false,
        "description": "Base unit details for this unit of measure set."
      },
      "QbdRelatedUnitCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 31,
            "description": "Name of this related unit, unique within its parent level."
          },
          "abbreviation": {
            "type": "string",
            "maxLength": 31,
            "description": "Abbreviation of this related unit."
          },
          "conversionRatio": {
            "type": "string",
            "pattern": "^-?\\d{1,10}(\\.\\d{1,5})?$",
            "description": "Conversion ratio of this related unit. Decimal string with up to 5 decimal places.",
            "example": "19.99"
          }
        },
        "required": [
          "name",
          "abbreviation",
          "conversionRatio"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a related unit."
      },
      "QbdDefaultUnitCreateInput": {
        "type": "object",
        "properties": {
          "unitUsedFor": {
            "type": "string",
            "enum": [
              "purchase",
              "sales",
              "shipping"
            ],
            "description": "Unit used for of this default unit."
          },
          "unit": {
            "type": "string",
            "maxLength": 31,
            "description": "Unit of this default unit."
          }
        },
        "required": [
          "unitUsedFor",
          "unit"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a default unit."
      },
      "QbdVendorCreditList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/vendor-credits"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdVendorCredit"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdVendorCredit": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this vendor credit."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_vendor_credit"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this vendor credit was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this vendor credit was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this vendor credit. Send it unchanged when updating; a stale value is rejected."
          },
          "transactionNumber": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Sequential transaction number QuickBooks assigns internally."
          },
          "vendor": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor for this vendor credit."
          },
          "payablesAccount": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The payables account for this vendor credit."
          },
          "transactionDate": {
            "type": [
              "string",
              "null"
            ],
            "format": "date",
            "description": "Date of this vendor credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "creditAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit amount of this vendor credit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this vendor credit."
          },
          "exchangeRate": {
            "type": [
              "number",
              "null"
            ],
            "description": "Exchange rate from this vendor credit's currency to the home currency."
          },
          "creditAmountInHomeCurrency": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit amount in home currency of this vendor credit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of this vendor credit, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "description": "Internal memo for this vendor credit; shown in reports, not on printed forms."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this vendor credit, stored by QuickBooks so you can match records with your system."
          },
          "linkedTransactions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdLinkedTransaction"
            },
            "description": "Transactions linked to this vendor credit, such as payments applied to it."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLine"
            },
            "description": "Expense lines entries for this vendor credit."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLine"
            },
            "description": "Item lines entries for this vendor credit."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLine"
            },
            "description": "Item group lines entries for this vendor credit."
          },
          "openAmount": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open amount of this vendor credit. Decimal string with up to 2 decimal places.",
            "example": "1250.00"
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this vendor credit."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "transactionNumber",
          "vendor",
          "payablesAccount",
          "transactionDate",
          "creditAmount",
          "currency",
          "exchangeRate",
          "creditAmountInHomeCurrency",
          "refNumber",
          "memo",
          "externalId",
          "linkedTransactions",
          "expenseLines",
          "itemLines",
          "itemGroupLines",
          "openAmount",
          "customFields"
        ],
        "description": "Vendor credit as stored in QuickBooks Desktop."
      },
      "QbdVendorCreditCreateInput": {
        "type": "object",
        "properties": {
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this vendor credit.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this vendor credit.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this vendor credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": "string",
            "maxLength": 20,
            "description": "Reference number of this vendor credit, such as an invoice or check number. Case-sensitive."
          },
          "memo": {
            "type": "string",
            "maxLength": 4095,
            "description": "Internal memo for this vendor credit; shown in reports, not on printed forms."
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this vendor credit's currency to the home currency."
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this vendor credit, stored by QuickBooks so you can match records with your system."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineCreateInput"
            },
            "description": "Expense lines entries for this vendor credit."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineCreateInput"
            },
            "description": "Item lines entries for this vendor credit."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineCreateInput"
            },
            "description": "Item group lines entries for this vendor credit."
          }
        },
        "required": [
          "vendorId"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a vendor credit."
      },
      "QbdVendorCreditUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this vendor credit. Send it unchanged when updating; a stale value is rejected."
          },
          "vendorId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor for this vendor credit.",
            "example": "80000001-1234567890"
          },
          "payablesAccountId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the payables account for this vendor credit.",
            "example": "80000001-1234567890"
          },
          "transactionDate": {
            "type": "string",
            "format": "date",
            "description": "Date of this vendor credit (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 20,
            "description": "Reference number of this vendor credit, such as an invoice or check number. Case-sensitive.",
            "x-daapi-clearable": true
          },
          "memo": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Internal memo for this vendor credit; shown in reports, not on printed forms.",
            "x-daapi-clearable": true
          },
          "exchangeRate": {
            "type": "number",
            "description": "Exchange rate from this vendor credit's currency to the home currency."
          },
          "clearExpenseLines": {
            "type": "boolean",
            "description": "Clear expense lines of this vendor credit. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "expenseLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdExpenseLineUpdateInput"
            },
            "description": "Expense lines entries for this vendor credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send itemLines or itemGroupLines: the API then reads the vendor credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the vendor credit keeps at least one line."
          },
          "clearItemLines": {
            "type": "boolean",
            "description": "Clear item lines of this vendor credit. Replaces every existing line when present: keep a line by sending its id, add one with id \"-1\", omit the array to leave lines unchanged."
          },
          "itemLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemLineUpdateInput"
            },
            "description": "Item lines entries for this vendor credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemGroupLines: the API then reads the vendor credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the vendor credit keeps at least one line."
          },
          "itemGroupLines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdItemGroupLineUpdateInput"
            },
            "description": "Item group lines entries for this vendor credit. When present, replaces this array: keep an existing entry by sending its id (an id alone leaves it unchanged), add one with id \"-1\"; existing entries you leave out are deleted. Omit the array to keep these entries unchanged, also when you send expenseLines or itemLines: the API then reads the vendor credit first and keeps every existing entry of each omitted array by ID. An empty array deletes them all, as long as the vendor credit keeps at least one line."
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a vendor credit."
      },
      "QbdVendorCreditDeleted": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the deleted transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_vendor_credit"
            ],
            "description": "Type of the deleted object."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the deleted transaction."
          },
          "deleted": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "refNumber",
          "deleted"
        ]
      },
      "QbdVendorCreditVoided": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks ID of the voided transaction."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_vendor_credit"
            ],
            "description": "Type of the voided object."
          },
          "createdAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was created (QuickBooks local time with offset)."
          },
          "updatedAt": {
            "type": [
              "string",
              "null"
            ],
            "description": "When the transaction was voided (QuickBooks local time with offset)."
          },
          "refNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Reference number of the voided transaction."
          },
          "voided": {
            "type": "boolean",
            "description": "Always true."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "refNumber",
          "voided"
        ]
      },
      "QbdVendorList": {
        "type": "object",
        "properties": {
          "objectType": {
            "type": "string",
            "enum": [
              "list"
            ],
            "description": "Always `list`."
          },
          "url": {
            "type": "string",
            "enum": [
              "/v1/quickbooks-desktop/vendors"
            ],
            "description": "The endpoint that produced this list."
          },
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdVendor"
            },
            "description": "Objects on this page."
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ],
            "description": "Cursor for the next page, or null on the last page."
          },
          "hasMore": {
            "type": "boolean",
            "description": "Whether more pages remain."
          },
          "remainingCount": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Records left after this page, as reported by QuickBooks."
          },
          "cursorExpiresAt": {
            "type": [
              "string",
              "null"
            ],
            "format": "date-time",
            "description": "Estimated deadline for requesting the next page (UTC)."
          }
        },
        "required": [
          "objectType",
          "url",
          "data",
          "nextCursor",
          "hasMore",
          "remainingCount",
          "cursorExpiresAt"
        ]
      },
      "QbdVendor": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "QuickBooks-assigned ID of this vendor."
          },
          "objectType": {
            "type": "string",
            "enum": [
              "qbd_vendor"
            ],
            "description": "Type of this object."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this vendor was created, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "When this vendor was last changed, as an ISO 8601 date-time with the QuickBooks computer's UTC offset.",
            "example": "2026-10-05T09:14:03-07:00"
          },
          "revisionNumber": {
            "type": "string",
            "description": "Current revision of this vendor. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of this vendor, unique within its parent level."
          },
          "isActive": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this vendor is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "class": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The class for this vendor."
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Company name."
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name."
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name."
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "description": "Job title."
          },
          "billingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Billing address for this vendor."
          },
          "shippingAddress": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdAddress"
              },
              {
                "type": "null"
              }
            ],
            "description": "Shipping address for this vendor."
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Alternate phone number."
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "description": "Fax number."
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address."
          },
          "ccEmail": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email address copied on emailed forms."
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of an alternate contact person."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactField"
            },
            "description": "Custom contact fields entries for this vendor."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContact"
            },
            "description": "Additional contacts entries for this vendor."
          },
          "nameOnCheck": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name on check of this vendor."
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Account number for this vendor."
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Note for this vendor."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNote"
            },
            "description": "Additional notes entries for this vendor."
          },
          "vendorType": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The vendor type for this vendor."
          },
          "terms": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The terms for this vendor."
          },
          "creditLimit": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "taxIdentificationNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Tax identification number of this vendor."
          },
          "isEligibleFor1099": {
            "type": [
              "boolean",
              "null"
            ],
            "description": "Whether this vendor is eligible for1099."
          },
          "balance": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Open balance of this vendor alone, as a decimal string.",
            "example": "1250.00"
          },
          "billingRate": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "The billing rate for this vendor."
          },
          "externalId": {
            "type": [
              "string",
              "null"
            ],
            "format": "uuid",
            "description": "Your own UUID for this vendor, stored by QuickBooks so you can match records with your system."
          },
          "defaultExpenseAccounts": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReference"
                },
                {
                  "description": "The default expense accounts for this vendor."
                }
              ]
            },
            "description": "The default expense accounts for this vendor."
          },
          "currency": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/QbdReference"
              },
              {
                "type": "null"
              }
            ],
            "description": "Currency of this vendor."
          },
          "customFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomField"
            },
            "description": "Custom field values QuickBooks stores on this vendor."
          }
        },
        "required": [
          "id",
          "objectType",
          "createdAt",
          "updatedAt",
          "revisionNumber",
          "name",
          "isActive",
          "class",
          "companyName",
          "salutation",
          "firstName",
          "middleName",
          "lastName",
          "jobTitle",
          "billingAddress",
          "shippingAddress",
          "phone",
          "alternatePhone",
          "fax",
          "email",
          "ccEmail",
          "contact",
          "alternateContact",
          "customContactFields",
          "additionalContacts",
          "nameOnCheck",
          "accountNumber",
          "note",
          "additionalNotes",
          "vendorType",
          "terms",
          "creditLimit",
          "taxIdentificationNumber",
          "isEligibleFor1099",
          "balance",
          "billingRate",
          "externalId",
          "defaultExpenseAccounts",
          "currency",
          "customFields"
        ],
        "description": "Vendor as stored in QuickBooks Desktop."
      },
      "QbdVendorCreateInput": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this vendor, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this vendor is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this vendor.",
            "example": "80000001-1234567890"
          },
          "companyName": {
            "type": "string",
            "maxLength": 41,
            "description": "Company name."
          },
          "salutation": {
            "type": "string",
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr."
          },
          "firstName": {
            "type": "string",
            "maxLength": 25,
            "description": "First name."
          },
          "middleName": {
            "type": "string",
            "maxLength": 5,
            "description": "Middle name or initial."
          },
          "lastName": {
            "type": "string",
            "maxLength": 25,
            "description": "Last name."
          },
          "jobTitle": {
            "type": "string",
            "maxLength": 41,
            "description": "Job title."
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Billing address for this vendor."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressCreateInput"
              },
              {
                "description": "Shipping address for this vendor."
              }
            ]
          },
          "phone": {
            "type": "string",
            "maxLength": 21,
            "description": "Main phone number."
          },
          "alternatePhone": {
            "type": "string",
            "maxLength": 21,
            "description": "Alternate phone number."
          },
          "fax": {
            "type": "string",
            "maxLength": 21,
            "description": "Fax number."
          },
          "email": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address."
          },
          "ccEmail": {
            "type": "string",
            "maxLength": 1023,
            "description": "Email address copied on emailed forms."
          },
          "contact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of the main contact person."
          },
          "alternateContact": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of an alternate contact person."
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this vendor."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContactCreateInput"
            },
            "description": "Additional contacts entries for this vendor."
          },
          "nameOnCheck": {
            "type": "string",
            "maxLength": 41,
            "description": "Name on check of this vendor."
          },
          "accountNumber": {
            "type": "string",
            "maxLength": 99,
            "description": "Account number for this vendor."
          },
          "note": {
            "type": "string",
            "maxLength": 4095,
            "description": "Note for this vendor."
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteCreateInput"
            },
            "description": "Additional notes entries for this vendor."
          },
          "vendorTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor type for this vendor.",
            "example": "80000001-1234567890"
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this vendor.",
            "example": "80000001-1234567890"
          },
          "creditLimit": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "taxIdentificationNumber": {
            "type": "string",
            "maxLength": 15,
            "description": "Tax identification number of this vendor."
          },
          "isEligibleFor1099": {
            "type": "boolean",
            "description": "Whether this vendor is eligible for1099."
          },
          "openingBalance": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Opening balance when this vendor was created, as a decimal string.",
            "example": "1250.00"
          },
          "openingBalanceDate": {
            "type": "string",
            "format": "date",
            "description": "Date of the opening balance (YYYY-MM-DD).",
            "example": "2026-10-05"
          },
          "billingRateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the billing rate for this vendor.",
            "example": "80000001-1234567890"
          },
          "externalId": {
            "type": "string",
            "format": "uuid",
            "description": "Your own UUID for this vendor, stored by QuickBooks so you can match records with your system."
          },
          "defaultExpenseAccountIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "ID of the default expense account for this vendor. Send each ID once.",
              "example": "80000001-1234567890"
            },
            "description": "ID of the default expense account for this vendor. Send each ID once."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this vendor.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields for creating a vendor."
      },
      "QbdVendorUpdateInput": {
        "type": "object",
        "properties": {
          "revisionNumber": {
            "type": "string",
            "maxLength": 16,
            "description": "Current revision of this vendor. Send it unchanged when updating; a stale value is rejected."
          },
          "name": {
            "type": "string",
            "maxLength": 41,
            "description": "Name of this vendor, unique within its parent level."
          },
          "isActive": {
            "type": "boolean",
            "description": "Whether this vendor is active. Inactive objects stay in QuickBooks but are hidden from most lists."
          },
          "classId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the class for this vendor.",
            "example": "80000001-1234567890"
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Company name.",
            "x-daapi-clearable": true
          },
          "salutation": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Salutation such as Mr. or Dr.",
            "x-daapi-clearable": true
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "First name.",
            "x-daapi-clearable": true
          },
          "middleName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 5,
            "description": "Middle name or initial.",
            "x-daapi-clearable": true
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 25,
            "description": "Last name.",
            "x-daapi-clearable": true
          },
          "jobTitle": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Job title.",
            "x-daapi-clearable": true
          },
          "billingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Billing address for this vendor."
              }
            ]
          },
          "shippingAddress": {
            "allOf": [
              {
                "$ref": "#/components/schemas/QbdAddressUpdateInput"
              },
              {
                "description": "Shipping address for this vendor."
              }
            ]
          },
          "phone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Main phone number.",
            "x-daapi-clearable": true
          },
          "alternatePhone": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Alternate phone number.",
            "x-daapi-clearable": true
          },
          "fax": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 21,
            "description": "Fax number.",
            "x-daapi-clearable": true
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address.",
            "x-daapi-clearable": true
          },
          "ccEmail": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 1023,
            "description": "Email address copied on emailed forms.",
            "x-daapi-clearable": true
          },
          "contact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of the main contact person.",
            "x-daapi-clearable": true
          },
          "alternateContact": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name of an alternate contact person.",
            "x-daapi-clearable": true
          },
          "customContactFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdCustomContactFieldInput"
            },
            "description": "Custom contact fields entries for this vendor."
          },
          "additionalContacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdContactUpdateInput"
            },
            "description": "Additional contacts entries for this vendor."
          },
          "nameOnCheck": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 41,
            "description": "Name on check of this vendor.",
            "x-daapi-clearable": true
          },
          "accountNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 99,
            "description": "Account number for this vendor.",
            "x-daapi-clearable": true
          },
          "note": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 4095,
            "description": "Note for this vendor.",
            "x-daapi-clearable": true
          },
          "additionalNotes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QbdNoteUpdateInput"
            },
            "description": "Additional notes entries for this vendor."
          },
          "vendorTypeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the vendor type for this vendor.",
            "example": "80000001-1234567890"
          },
          "termsId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the terms for this vendor.",
            "example": "80000001-1234567890"
          },
          "creditLimit": {
            "type": "string",
            "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
            "description": "Credit limit as a decimal string.",
            "example": "1250.00"
          },
          "taxIdentificationNumber": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 15,
            "description": "Tax identification number of this vendor.",
            "x-daapi-clearable": true
          },
          "isEligibleFor1099": {
            "type": "boolean",
            "description": "Whether this vendor is eligible for1099."
          },
          "billingRateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the billing rate for this vendor.",
            "example": "80000001-1234567890"
          },
          "defaultExpenseAccountIds": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "ID of the default expense account for this vendor. Send each ID once.",
              "example": "80000001-1234567890"
            },
            "description": "ID of the default expense account for this vendor. Send each ID once."
          },
          "currencyId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 36,
            "description": "ID of the currency for this vendor.",
            "example": "80000001-1234567890"
          }
        },
        "required": [
          "revisionNumber"
        ],
        "additionalProperties": false,
        "description": "Fields for updating a vendor."
      }
    }
  },
  "paths": {
    "/v1/end-users": {
      "post": {
        "operationId": "endUsers.create",
        "tags": [
          "End users"
        ],
        "summary": "Create an end user",
        "description": "Creates an end user: one of your customers, mapped to one QuickBooks Desktop company file. Next, create an auth session so the end user can connect QuickBooks. `sourceId` must be unique within the project.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EndUserCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created end user.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUser"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "endUsers.list",
        "tags": [
          "End users"
        ],
        "x-daapi-pagination": "cursor",
        "summary": "List end users",
        "description": "Returns the project's end users, newest first, with cursor pagination.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "The `nextCursor` from the previous page."
            },
            "required": false,
            "description": "The `nextCursor` from the previous page.",
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50,
              "description": "Page size, 1–100. Default 50.",
              "example": 50
            },
            "required": false,
            "description": "Page size, 1–100. Default 50.",
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of end users.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUserList"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `CURSOR_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/end-users/{id}": {
      "get": {
        "operationId": "endUsers.retrieve",
        "tags": [
          "End users"
        ],
        "summary": "Retrieve an end user",
        "description": "Returns an end user with its QuickBooks Desktop connection status.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": true,
            "description": "Unique identifier for the end user.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The end user.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUser"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "endUsers.update",
        "tags": [
          "End users"
        ],
        "summary": "Update an end user",
        "description": "Updates `companyName`, `sourceId` or `email`. Omitted fields are unchanged.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": true,
            "description": "Unique identifier for the end user.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EndUserUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated end user.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUser"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "endUsers.delete",
        "tags": [
          "End users"
        ],
        "summary": "Delete an end user",
        "description": "Permanently deletes the end user, its connection, its Web Connector credentials and its stored request data. The Web Connector on the end user's computer stops working for this application; remove the application from the Web Connector afterwards.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": true,
            "description": "Unique identifier for the end user.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The end user was deleted.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUserDeleted"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/end-users/{id}/reset-company-file": {
      "post": {
        "operationId": "endUsers.resetCompanyFile",
        "tags": [
          "End users"
        ],
        "summary": "Reset the company file",
        "description": "Re-binds the connection after the company file was moved or renamed (`mode: path`) or the company itself was renamed (`mode: identity`), which otherwise leaves the connection in `company_file_mismatch` or `QBD_COMPANY_FILE_NOT_FOUND`. Ask the end user to open the correct company file in QuickBooks first. The connection checks the file at the next Web Connector check-in. Queued requests stay queued.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": true,
            "description": "Unique identifier for the end user.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EndUserResetCompanyFileInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The end user with its connection status.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EndUser"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/auth-sessions": {
      "post": {
        "operationId": "authSessions.create",
        "tags": [
          "Auth sessions"
        ],
        "summary": "Create an auth session",
        "description": "Creates a time-limited link to the hosted setup flow, where the end user connects their QuickBooks Desktop company file through the QuickBooks Web Connector. Create a new auth session each time you show the link; each one expires after `linkExpiryMins`.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthSessionCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created auth session.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthSession"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`, `PUBLISHABLE_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`, `PUBLISHABLE_KEY_PROJECT_MISMATCH`, `TEST_COMPANY_FILE_LIMIT_REACHED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/end-users/{id}/passthrough/{integrationSlug}": {
      "post": {
        "operationId": "endUsers.passthrough",
        "tags": [
          "Passthrough"
        ],
        "summary": "Send a raw qbXML request",
        "description": "Sends qbXML request elements directly to the end user's QuickBooks Desktop and returns QuickBooks' response. Send JSON (`application/json`) or a `<QBXMLMsgsRq>` fragment (`application/xml`); the response uses the same format. We add the qbXML envelope, `onError=\"stopOnError\"` unless you set it, and a `newMessageSetID` for writes. A body that contains any element other than a query (`...QueryRq`) is a write: send an `Idempotency-Key` to make retries safe. A read-only secret key can send only queries; a write returns `403 API_KEY_READ_ONLY`. The response is `200` with each message's own status; the call fails only when QuickBooks processed no message successfully. Each call creates a request resource (`Daapi-Request-Id`).",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": true,
            "description": "Unique identifier for the end user.",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "quickbooks_desktop"
              ],
              "description": "Always `quickbooks_desktop`."
            },
            "required": true,
            "description": "Always `quickbooks_desktop`.",
            "name": "integrationSlug",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": false,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PassthroughInput"
              }
            },
            "application/xml": {
              "schema": {
                "type": "string",
                "description": "A `<QBXMLMsgsRq>` fragment containing request elements.",
                "example": "<QBXMLMsgsRq onError=\"stopOnError\"><CustomerQueryRq><MaxReturned>5</MaxReturned></CustomerQueryRq></QBXMLMsgsRq>"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "QuickBooks processed at least one message. Each response element carries its own `statusCode`, `statusSeverity` and `statusMessage`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Idempotent-Replayed": {
                "description": "`true` when this body is a stored replay of an earlier request with the same Idempotency-Key.",
                "schema": {
                  "type": "string"
                }
              },
              "Daapi-Warnings": {
                "description": "Number of QuickBooks warnings recorded on the request.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PassthroughResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "type": "string",
                  "description": "The raw `<QBXMLMsgsRs>` fragment."
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `PASSTHROUGH_INVALID_QBXML`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`, `INTEGRATION_CONNECTION_DISABLED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_DUPLICATE_NAME`, `QBD_REVISION_NUMBER_STALE`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`, `QBD_REQUEST_ERROR`, `QBD_REFERENCE_NOT_FOUND`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/health-check": {
      "get": {
        "operationId": "qbd.healthCheck",
        "tags": [
          "Health check"
        ],
        "summary": "Check the QuickBooks Desktop connection",
        "description": "Runs a real round trip to the end user's QuickBooks Desktop: the request waits for the Web Connector, opens the company file and reads company information. Use it before a sync, or to show connection status to the end user. On failure the error explains the cause and fix (for example `INTEGRATION_CONNECTION_NOT_ACTIVE` or `QBD_MODAL_DIALOG_OPEN`). The default wait is 60 seconds. Health checks keep working when billing pauses production data requests.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "QuickBooks Desktop answered.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HealthCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_REQUEST_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/requests": {
      "get": {
        "operationId": "requests.list",
        "tags": [
          "Requests"
        ],
        "x-daapi-pagination": "cursor",
        "summary": "List requests",
        "description": "Returns the project's QuickBooks-bound requests, newest first, from the request log (kept 30 days). Filter by end user, status, operation and creation time. The log is updated within seconds of each status change; retrieve a request for its timeline, diagnosis and result. Calls rejected before they were queued are listed as `failed` with their `errorCode` when they named an end user of this project that has a connection; rate-limited calls and calls without a resolvable end user are not.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "The `nextCursor` from the previous page."
            },
            "required": false,
            "description": "The `nextCursor` from the previous page.",
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50,
              "description": "Page size, 1–100. Default 50.",
              "example": 50
            },
            "required": false,
            "description": "Page size, 1–100. Default 50.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^eu_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Only requests for this end user.",
              "example": "eu_01j9x4m6v4c8k2t7q0r5s3w1zb"
            },
            "required": false,
            "description": "Only requests for this end user.",
            "name": "endUserId",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "enum": [
                  "queued",
                  "waiting_for_connection",
                  "sent",
                  "succeeded",
                  "failed",
                  "canceled",
                  "outcome_unknown"
                ],
                "description": "`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. `succeeded` and `failed` are final. `canceled`: canceled before it was sent. `outcome_unknown`: a write was sent and its result could not be confirmed.",
                "x-daapi-open-enum": true
              },
              "maxItems": 100,
              "description": "Only requests in these statuses. Repeat the parameter for several (`?status=failed&status=outcome_unknown`)."
            },
            "required": false,
            "description": "Only requests in these statuses. Repeat the parameter for several (`?status=failed&status=outcome_unknown`).",
            "name": "status",
            "in": "query",
            "style": "form",
            "explode": true
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_.]{1,100}$",
              "description": "Only requests for this operation, for example `qbd.invoices.create`.",
              "example": "qbd.invoices.create"
            },
            "required": false,
            "description": "Only requests for this operation, for example `qbd.invoices.create`.",
            "name": "operationId",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only requests created at or after this time (ISO 8601).",
              "example": "2026-10-05T00:00:00Z"
            },
            "required": false,
            "description": "Only requests created at or after this time (ISO 8601).",
            "name": "createdAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date-time",
              "description": "Only requests created before this time (ISO 8601).",
              "example": "2026-10-06T00:00:00Z"
            },
            "required": false,
            "description": "Only requests created before this time (ISO 8601).",
            "name": "createdBefore",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of requests.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RequestList"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/requests/{id}": {
      "get": {
        "operationId": "requests.retrieve",
        "tags": [
          "Requests"
        ],
        "summary": "Retrieve a request",
        "description": "Returns a QuickBooks-bound request with its status, queue position, timeline, diagnosis, native status and result. With `waitSeconds`, the call waits up to that long for the request to finish (or become `outcome_unknown`) before answering. Use it after `504 QBD_REQUEST_TIMEOUT` or a `202` async response to collect the result without resending. A call that was rejected before it was queued (for example `INTEGRATION_CONNECTION_NOT_SET_UP`, a validation error or a disabled connection) is retrievable under the request ID its error returned, as a `failed` request with `sentAt: null`, the catalog `error` for its code and no result, when it named an end user of this project that has a connection.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "pattern": "^req_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the request.",
              "example": "req_01j9x4m6v4c8k2t7q0r5s3w1zd"
            },
            "required": true,
            "description": "Unique identifier for the request.",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 0,
              "maximum": 60,
              "default": 0,
              "description": "Seconds to wait for a final status, 0–60. Default 0.",
              "example": 30
            },
            "required": false,
            "description": "Seconds to wait for a final status, 0–60. Default 0.",
            "name": "waitSeconds",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The request.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/requests/{id}/cancel": {
      "post": {
        "operationId": "requests.cancel",
        "tags": [
          "Requests"
        ],
        "summary": "Cancel a request",
        "description": "Cancels a request that has not been sent to QuickBooks (`queued` or `waiting_for_connection`). Nothing reaches QuickBooks; the request becomes `canceled` with `REQUEST_CANCELED`, and a waiting synchronous call returns that error. A request that was already sent cannot be canceled (`409 REQUEST_NOT_CANCELABLE`). Canceling a canceled request returns it unchanged.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^req_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the request.",
              "example": "req_01j9x4m6v4c8k2t7q0r5s3w1zd"
            },
            "required": true,
            "description": "Unique identifier for the request.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The canceled request.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `REQUEST_NOT_CANCELABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints": {
      "post": {
        "operationId": "webhookEndpoints.create",
        "tags": [
          "Webhooks"
        ],
        "summary": "Create a webhook endpoint",
        "description": "Registers an HTTPS endpoint for events of this project. The response contains the signing secret once. Deliveries are signed with the [Standard Webhooks](https://www.standardwebhooks.com/) scheme (`webhook-id`, `webhook-timestamp`, `webhook-signature`), retried on failure for about 27 hours (after 5 s, 5 min, 30 min, 2 h, 5 h, 10 h and 10 h) and recorded in the delivery log. A project can have up to 20 endpoints.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEndpointCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created endpoint with its signing secret.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpointWithSecret"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`, `WEBHOOK_ENDPOINT_LIMIT_REACHED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "operationId": "webhookEndpoints.list",
        "tags": [
          "Webhooks"
        ],
        "x-daapi-pagination": "cursor",
        "summary": "List webhook endpoints",
        "description": "Returns the project's webhook endpoints, newest first.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "The `nextCursor` from the previous page."
            },
            "required": false,
            "description": "The `nextCursor` from the previous page.",
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50,
              "description": "Page size, 1–100. Default 50.",
              "example": 50
            },
            "required": false,
            "description": "Page size, 1–100. Default 50.",
            "name": "limit",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of endpoints.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpointList"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `CURSOR_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints/{id}": {
      "get": {
        "operationId": "webhookEndpoints.retrieve",
        "tags": [
          "Webhooks"
        ],
        "summary": "Retrieve a webhook endpoint",
        "description": "Returns a webhook endpoint. The signing secret is not included; rotate it to get a new one.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The endpoint.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpoint"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "webhookEndpoints.update",
        "tags": [
          "Webhooks"
        ],
        "summary": "Update a webhook endpoint",
        "description": "Updates the URL, event types, description, `enabled` or `includeSyncRequests`. Omitted fields are unchanged. Re-enabling an endpoint that was disabled after failed deliveries clears `disabledReason`.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/WebhookEndpointUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated endpoint.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpoint"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_JSON`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "webhookEndpoints.delete",
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete a webhook endpoint",
        "description": "Deletes the endpoint and its delivery log. Pending retries stop.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The endpoint was deleted.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpointDeleted"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints/{id}/rotate-secret": {
      "post": {
        "operationId": "webhookEndpoints.rotateSecret",
        "tags": [
          "Webhooks"
        ],
        "summary": "Rotate the signing secret",
        "description": "Creates a new signing secret and returns it once. For 24 hours deliveries carry two signatures (new and previous secret, space separated in `webhook-signature`), so you can deploy the new secret without dropping events.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The endpoint with its new secret.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookEndpointWithSecret"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints/{id}/test": {
      "post": {
        "operationId": "webhookEndpoints.sendTestEvent",
        "tags": [
          "Webhooks"
        ],
        "summary": "Send a test event",
        "description": "Sends a signed `webhook.test` event to the endpoint now (one attempt, no retries) and returns the delivery with the attempt result. Use it to check your signature verification. The endpoint receives it even when disabled.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The test delivery and its attempt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDelivery"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints/{id}/deliveries": {
      "get": {
        "operationId": "webhookEndpoints.listDeliveries",
        "tags": [
          "Webhooks"
        ],
        "x-daapi-pagination": "cursor",
        "summary": "List deliveries",
        "description": "Returns the endpoint's deliveries (kept 30 days), newest first, each with every attempt: status code, latency, a response excerpt and the error.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "description": "The `nextCursor` from the previous page."
            },
            "required": false,
            "description": "The `nextCursor` from the previous page.",
            "name": "cursor",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50,
              "description": "Page size, 1–100. Default 50.",
              "example": 50
            },
            "required": false,
            "description": "Page size, 1–100. Default 50.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "succeeded",
                "failed"
              ],
              "description": "Only deliveries in this status."
            },
            "required": false,
            "description": "Only deliveries in this status.",
            "name": "status",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A page of deliveries.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDeliveryList"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `CURSOR_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhook-endpoints/{id}/deliveries/{deliveryId}/resend": {
      "post": {
        "operationId": "webhookEndpoints.resendDelivery",
        "tags": [
          "Webhooks"
        ],
        "summary": "Resend a delivery",
        "description": "Delivers the same event (same `webhook-id`, so receivers can deduplicate) once more now, and records the attempt on the delivery. Use it after fixing an endpoint whose deliveries failed.",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whe_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the webhook endpoint.",
              "example": "whe_01j9x4m6v4c8k2t7q0r5s3w1zg"
            },
            "required": true,
            "description": "Unique identifier for the webhook endpoint.",
            "name": "id",
            "in": "path"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^whd_[0-9a-hjkmnp-tv-z]{26}$",
              "description": "Unique identifier for the delivery of one event to one endpoint.",
              "example": "whd_01j9x4m6v4c8k2t7q0r5s3w1zj"
            },
            "required": true,
            "description": "Unique identifier for the delivery of one event to one endpoint.",
            "name": "deliveryId",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The delivery with the new attempt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WebhookDelivery"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `INVALID_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "QuickBooks Desktop or the service is not available. Codes: `SERVICE_UNAVAILABLE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/account-tax-lines": {
      "get": {
        "operationId": "qbd.accountTaxLines.list",
        "tags": [
          "Account tax lines"
        ],
        "summary": "List account tax lines",
        "description": "Returns the account tax lines that match your filters. QuickBooks has no cursor for this list, so the response contains every matching account tax line at once.",
        "x-daapi-qbxml": {
          "message": "AccountTaxLineInfoQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of account tax lines.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdAccountTaxLineList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/accounts": {
      "get": {
        "operationId": "qbd.accounts.list",
        "tags": [
          "Accounts"
        ],
        "summary": "List accounts",
        "description": "Returns the accounts that match your filters. QuickBooks has no cursor for this list, so the response contains every matching account at once.",
        "x-daapi-qbxml": {
          "message": "AccountQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the accounts with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, accountType, currencyIds."
            },
            "required": false,
            "description": "Return only the accounts with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, accountType, currencyIds.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the accounts with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, accountType, currencyIds."
            },
            "required": false,
            "description": "Return only the accounts with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, accountType, currencyIds.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of accounts to return. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Maximum number of accounts to return. Cannot be combined with ids, fullNames.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdActiveStatus"
            },
            "required": false,
            "description": "Filter accounts by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return accounts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return accounts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return accounts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return accounts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return accounts whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return accounts whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return accounts whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return accounts whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return accounts whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return accounts whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return accounts whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return accounts whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return accounts whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return accounts whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with ids, fullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only accounts in these currency IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only accounts in these currency IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of accounts.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdAccountList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.accounts.create",
        "tags": [
          "Accounts"
        ],
        "summary": "Create an account",
        "description": "Creates an account in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second account (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "AccountAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdAccountCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created account.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdAccount"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/accounts/{id}": {
      "get": {
        "operationId": "qbd.accounts.retrieve",
        "tags": [
          "Accounts"
        ],
        "summary": "Retrieve an account",
        "description": "Returns one account by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "AccountQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the account.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the account.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The account.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdAccount"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.accounts.update",
        "tags": [
          "Accounts"
        ],
        "summary": "Update an account",
        "description": "Changes the fields you send on an existing account and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the account, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "AccountMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the account.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the account.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdAccountUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated account.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdAccount"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-check-payments": {
      "get": {
        "operationId": "qbd.billCheckPayments.list",
        "tags": [
          "Bill check payments"
        ],
        "summary": "List bill check payments",
        "description": "Returns the bill check payments that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "BillPaymentCheckQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the bill check payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the bill check payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill check payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only bill check payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of bill check payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of bill check payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bill check payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill check payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bill check payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill check payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bill check payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill check payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bill check payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill check payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill check payments linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill check payments linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill check payments that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill check payments that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill check payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill check payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill check payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill check payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill check payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill check payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill check payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bill check payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill check payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bill check payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill check payments in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill check payments in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each bill check payment. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each bill check payment. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of bill check payments.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPaymentList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.billCheckPayments.create",
        "tags": [
          "Bill check payments"
        ],
        "summary": "Create a bill check payment",
        "description": "Creates a bill check payment in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second bill check payment (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "BillPaymentCheckAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBillCheckPaymentCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created bill check payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-check-payments/{id}": {
      "get": {
        "operationId": "qbd.billCheckPayments.retrieve",
        "tags": [
          "Bill check payments"
        ],
        "summary": "Retrieve a bill check payment",
        "description": "Returns one bill check payment by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "BillPaymentCheckQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill check payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill check payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The bill check payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.billCheckPayments.update",
        "tags": [
          "Bill check payments"
        ],
        "summary": "Update a bill check payment",
        "description": "Changes the fields you send on an existing bill check payment and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the bill check payment, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "BillPaymentCheckMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill check payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill check payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBillCheckPaymentUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated bill check payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.billCheckPayments.delete",
        "tags": [
          "Bill check payments"
        ],
        "summary": "Delete a bill check payment",
        "description": "Permanently deletes a bill check payment. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=BillPaymentCheck"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill check payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill check payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted bill check payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPaymentDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-check-payments/{id}/void": {
      "post": {
        "operationId": "qbd.billCheckPayments.void",
        "tags": [
          "Bill check payments"
        ],
        "summary": "Void a bill check payment",
        "description": "Voids a bill check payment: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the bill check payment must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=BillPaymentCheck"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill check payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill check payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided bill check payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCheckPaymentVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-credit-card-payments": {
      "get": {
        "operationId": "qbd.billCreditCardPayments.list",
        "tags": [
          "Bill credit card payments"
        ],
        "summary": "List bill credit card payments",
        "description": "Returns the bill credit card payments that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "BillPaymentCreditCardQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the bill credit card payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the bill credit card payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill credit card payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only bill credit card payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of bill credit card payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of bill credit card payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bill credit card payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill credit card payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bill credit card payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill credit card payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bill credit card payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill credit card payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bill credit card payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bill credit card payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill credit card payments linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill credit card payments linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill credit card payments that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill credit card payments that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill credit card payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill credit card payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill credit card payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill credit card payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill credit card payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bill credit card payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill credit card payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bill credit card payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bill credit card payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bill credit card payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill credit card payments in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bill credit card payments in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each bill credit card payment. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each bill credit card payment. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of bill credit card payments.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCreditCardPaymentList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.billCreditCardPayments.create",
        "tags": [
          "Bill credit card payments"
        ],
        "summary": "Create a bill credit card payment",
        "description": "Creates a bill credit card payment in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second bill credit card payment (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "BillPaymentCreditCardAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBillCreditCardPaymentCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created bill credit card payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCreditCardPayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-credit-card-payments/{id}": {
      "get": {
        "operationId": "qbd.billCreditCardPayments.retrieve",
        "tags": [
          "Bill credit card payments"
        ],
        "summary": "Retrieve a bill credit card payment",
        "description": "Returns one bill credit card payment by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "BillPaymentCreditCardQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill credit card payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill credit card payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The bill credit card payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCreditCardPayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.billCreditCardPayments.delete",
        "tags": [
          "Bill credit card payments"
        ],
        "summary": "Delete a bill credit card payment",
        "description": "Permanently deletes a bill credit card payment. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=BillPaymentCreditCard"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill credit card payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill credit card payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted bill credit card payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCreditCardPaymentDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bill-credit-card-payments/{id}/void": {
      "post": {
        "operationId": "qbd.billCreditCardPayments.void",
        "tags": [
          "Bill credit card payments"
        ],
        "summary": "Void a bill credit card payment",
        "description": "Voids a bill credit card payment: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the bill credit card payment must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=BillPaymentCreditCard"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill credit card payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill credit card payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided bill credit card payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillCreditCardPaymentVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bills": {
      "get": {
        "operationId": "qbd.bills.list",
        "tags": [
          "Bills"
        ],
        "summary": "List bills",
        "description": "Returns the bills that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "BillQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the bills with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the bills with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bills with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only bills with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of bills per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of bills per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bills changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bills changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return bills changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return bills changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bills dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bills dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return bills dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return bills dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bills linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bills linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bills that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bills that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bills whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bills whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bills whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bills whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bills whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return bills whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bills whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bills whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return bills whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return bills whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bills in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only bills in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPaymentStatus"
            },
            "required": false,
            "description": "Filter bills by payment state. Cannot be combined with ids, refNumbers.",
            "name": "paymentStatus",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each bill. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each bill. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each bill, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each bill, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of bills.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.bills.create",
        "tags": [
          "Bills"
        ],
        "summary": "Create a bill",
        "description": "Creates a bill in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second bill (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "BillAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBillCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created bill.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBill"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bills/{id}": {
      "get": {
        "operationId": "qbd.bills.retrieve",
        "tags": [
          "Bills"
        ],
        "summary": "Retrieve a bill",
        "description": "Returns one bill by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "BillQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The bill.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBill"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.bills.update",
        "tags": [
          "Bills"
        ],
        "summary": "Update a bill",
        "description": "Changes the fields you send on an existing bill and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the bill, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "BillMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBillUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated bill.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBill"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.bills.delete",
        "tags": [
          "Bills"
        ],
        "summary": "Delete a bill",
        "description": "Permanently deletes a bill. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=Bill"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted bill.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bills/{id}/void": {
      "post": {
        "operationId": "qbd.bills.void",
        "tags": [
          "Bills"
        ],
        "summary": "Void a bill",
        "description": "Voids a bill: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the bill must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=Bill"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the bill.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the bill.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided bill.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/bills-to-pay": {
      "get": {
        "operationId": "qbd.billsToPay.list",
        "tags": [
          "Bills to pay"
        ],
        "summary": "List bill to pays",
        "description": "Returns the bill to pays that match your filters. QuickBooks has no cursor for this list, so the response contains every matching bill to pay at once.",
        "x-daapi-qbxml": {
          "message": "BillToPayQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "Return bill to pays for this payee entity ID."
            },
            "required": true,
            "description": "Return bill to pays for this payee entity ID.",
            "name": "vendorId",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "Return bill to pays for this A/P account ID."
            },
            "required": false,
            "description": "Return bill to pays for this A/P account ID.",
            "name": "payablesAccountId",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by due date."
            },
            "required": false,
            "description": "Filter by due date.",
            "name": "dueDate",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only bill to pays in these currency IDs."
            },
            "required": false,
            "description": "Return only bill to pays in these currency IDs.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of bill to pays.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBillsToPayList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/build-assemblies": {
      "get": {
        "operationId": "qbd.buildAssemblies.list",
        "tags": [
          "Build assemblies"
        ],
        "summary": "List build assemblies",
        "description": "Returns the build assemblies that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "BuildAssemblyQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the build assemblies with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, pendingStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the build assemblies with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, pendingStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only build assemblies with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, pendingStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only build assemblies with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, pendingStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of build assemblies per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of build assemblies per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return build assemblies changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return build assemblies changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return build assemblies changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return build assemblies changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return build assemblies dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return build assemblies dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return build assemblies dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return build assemblies dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only build assemblies that include these item IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only build assemblies that include these item IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return build assemblies whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return build assemblies whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return build assemblies whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return build assemblies whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return build assemblies whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return build assemblies whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return build assemblies whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return build assemblies whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return build assemblies whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return build assemblies whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPendingStatus"
            },
            "required": false,
            "description": "Filter by pending status. Cannot be combined with ids, refNumbers.",
            "name": "pendingStatus",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include the component lines of each build assembly. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include the component lines of each build assembly. Defaults to true.",
            "name": "includeComponentLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of build assemblies.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBuildAssemblyList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.buildAssemblies.create",
        "tags": [
          "Build assemblies"
        ],
        "summary": "Create a build assembly",
        "description": "Creates a build assembly in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second build assembly (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "BuildAssemblyAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBuildAssemblyCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created build assembly.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBuildAssembly"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/build-assemblies/{id}": {
      "get": {
        "operationId": "qbd.buildAssemblies.retrieve",
        "tags": [
          "Build assemblies"
        ],
        "summary": "Retrieve a build assembly",
        "description": "Returns one build assembly by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "BuildAssemblyQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the build assembly.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the build assembly.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The build assembly.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBuildAssembly"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.buildAssemblies.update",
        "tags": [
          "Build assemblies"
        ],
        "summary": "Update a build assembly",
        "description": "Changes the fields you send on an existing build assembly and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the build assembly, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "BuildAssemblyMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the build assembly.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the build assembly.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdBuildAssemblyUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated build assembly.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBuildAssembly"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.buildAssemblies.delete",
        "tags": [
          "Build assemblies"
        ],
        "summary": "Delete a build assembly",
        "description": "Permanently deletes a build assembly. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=BuildAssembly"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the build assembly.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the build assembly.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted build assembly.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdBuildAssemblyDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/checks": {
      "get": {
        "operationId": "qbd.checks.list",
        "tags": [
          "Checks"
        ],
        "summary": "List checks",
        "description": "Returns the checks that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "CheckQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the checks with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the checks with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only checks with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only checks with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of checks per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of checks per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return checks changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return checks changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return checks changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return checks changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return checks dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return checks dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return checks dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return checks dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only checks linked to these payee IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only checks linked to these payee IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "payeeIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only checks that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only checks that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return checks whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return checks whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return checks whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return checks whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return checks whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return checks whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return checks whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return checks whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return checks whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return checks whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only checks in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only checks in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each check. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each check. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each check, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each check, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of checks.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheckList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.checks.create",
        "tags": [
          "Checks"
        ],
        "summary": "Create a check",
        "description": "Creates a check in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second check (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CheckAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCheckCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/checks/{id}": {
      "get": {
        "operationId": "qbd.checks.retrieve",
        "tags": [
          "Checks"
        ],
        "summary": "Retrieve a check",
        "description": "Returns one check by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CheckQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the check.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.checks.update",
        "tags": [
          "Checks"
        ],
        "summary": "Update a check",
        "description": "Changes the fields you send on an existing check and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the check, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CheckMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the check.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCheckUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.checks.delete",
        "tags": [
          "Checks"
        ],
        "summary": "Delete a check",
        "description": "Permanently deletes a check. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=Check"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the check.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheckDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/checks/{id}/void": {
      "post": {
        "operationId": "qbd.checks.void",
        "tags": [
          "Checks"
        ],
        "summary": "Void a check",
        "description": "Voids a check: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the check must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=Check"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the check.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCheckVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/classes": {
      "get": {
        "operationId": "qbd.classes.list",
        "tags": [
          "Classes"
        ],
        "summary": "List classes",
        "description": "Returns the classes that match your filters. QuickBooks has no cursor for this list, so the response contains every matching class at once.",
        "x-daapi-qbxml": {
          "message": "ClassQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the classes with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the classes with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the classes with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the classes with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of classes to return. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Maximum number of classes to return. Cannot be combined with ids, fullNames.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter classes by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter classes by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return classes changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return classes changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return classes changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return classes changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return classes whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return classes whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return classes whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return classes whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return classes whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return classes whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return classes whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return classes whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return classes whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return classes whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of classes.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdClassList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.classes.create",
        "tags": [
          "Classes"
        ],
        "summary": "Create a class",
        "description": "Creates a class in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second class (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ClassAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdClassCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created class.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdClass"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/classes/{id}": {
      "get": {
        "operationId": "qbd.classes.retrieve",
        "tags": [
          "Classes"
        ],
        "summary": "Retrieve a class",
        "description": "Returns one class by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ClassQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the class.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the class.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The class.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdClass"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.classes.update",
        "tags": [
          "Classes"
        ],
        "summary": "Update a class",
        "description": "Changes the fields you send on an existing class and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the class, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ClassMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the class.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the class.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdClassUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated class.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdClass"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/company": {
      "get": {
        "operationId": "qbd.company.retrieve",
        "tags": [
          "Company"
        ],
        "summary": "Retrieve company information",
        "description": "Returns company file information such as legal name, address and subscribed services.",
        "x-daapi-qbxml": {
          "message": "CompanyQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "The company.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCompany"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-charges": {
      "get": {
        "operationId": "qbd.creditCardCharges.list",
        "tags": [
          "Credit card charges"
        ],
        "summary": "List credit card charges",
        "description": "Returns the credit card charges that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "CreditCardChargeQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the credit card charges with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the credit card charges with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card charges with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only credit card charges with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of credit card charges per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of credit card charges per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card charges changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card charges changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card charges changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card charges changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card charges dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card charges dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card charges dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card charges dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card charges linked to these payee IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card charges linked to these payee IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "payeeIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card charges that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card charges that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card charges whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card charges whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card charges whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card charges whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card charges whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card charges whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card charges whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card charges whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card charges whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card charges whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card charges in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card charges in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each credit card charge. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each credit card charge. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of credit card charges.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardChargeList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditCardCharges.create",
        "tags": [
          "Credit card charges"
        ],
        "summary": "Create a credit card charge",
        "description": "Creates a credit card charge in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second credit card charge (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CreditCardChargeAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditCardChargeCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created credit card charge.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCharge"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-charges/{id}": {
      "get": {
        "operationId": "qbd.creditCardCharges.retrieve",
        "tags": [
          "Credit card charges"
        ],
        "summary": "Retrieve a credit card charge",
        "description": "Returns one credit card charge by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CreditCardChargeQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card charge.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card charge.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The credit card charge.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCharge"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditCardCharges.update",
        "tags": [
          "Credit card charges"
        ],
        "summary": "Update a credit card charge",
        "description": "Changes the fields you send on an existing credit card charge and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the credit card charge, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CreditCardChargeMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card charge.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card charge.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditCardChargeUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated credit card charge.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCharge"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.creditCardCharges.delete",
        "tags": [
          "Credit card charges"
        ],
        "summary": "Delete a credit card charge",
        "description": "Permanently deletes a credit card charge. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=CreditCardCharge"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card charge.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card charge.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted credit card charge.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardChargeDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-charges/{id}/void": {
      "post": {
        "operationId": "qbd.creditCardCharges.void",
        "tags": [
          "Credit card charges"
        ],
        "summary": "Void a credit card charge",
        "description": "Voids a credit card charge: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the credit card charge must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=CreditCardCharge"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card charge.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card charge.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided credit card charge.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardChargeVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-credits": {
      "get": {
        "operationId": "qbd.creditCardCredits.list",
        "tags": [
          "Credit card credits"
        ],
        "summary": "List credit card credits",
        "description": "Returns the credit card credits that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "CreditCardCreditQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the credit card credits with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the credit card credits with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card credits with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only credit card credits with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, payeeIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of credit card credits per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of credit card credits per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card credits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card credits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card credits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card credits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card credits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card credits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card credits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card credits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card credits linked to these payee IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card credits linked to these payee IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "payeeIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card credits that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card credits that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card credits whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card credits whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card credits whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card credits whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card credits whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card credits whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card credits whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card credits whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card credits whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card credits whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card credits in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card credits in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each credit card credit. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each credit card credit. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of credit card credits.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCreditList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditCardCredits.create",
        "tags": [
          "Credit card credits"
        ],
        "summary": "Create a credit card credit",
        "description": "Creates a credit card credit in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second credit card credit (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CreditCardCreditAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditCardCreditCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created credit card credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-credits/{id}": {
      "get": {
        "operationId": "qbd.creditCardCredits.retrieve",
        "tags": [
          "Credit card credits"
        ],
        "summary": "Retrieve a credit card credit",
        "description": "Returns one credit card credit by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CreditCardCreditQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The credit card credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditCardCredits.update",
        "tags": [
          "Credit card credits"
        ],
        "summary": "Update a credit card credit",
        "description": "Changes the fields you send on an existing credit card credit and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the credit card credit, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CreditCardCreditMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditCardCreditUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated credit card credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.creditCardCredits.delete",
        "tags": [
          "Credit card credits"
        ],
        "summary": "Delete a credit card credit",
        "description": "Permanently deletes a credit card credit. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=CreditCardCredit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted credit card credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCreditDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-credits/{id}/void": {
      "post": {
        "operationId": "qbd.creditCardCredits.void",
        "tags": [
          "Credit card credits"
        ],
        "summary": "Void a credit card credit",
        "description": "Voids a credit card credit: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the credit card credit must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=CreditCardCredit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided credit card credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardCreditVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-refunds": {
      "get": {
        "operationId": "qbd.creditCardRefunds.list",
        "tags": [
          "Credit card refunds"
        ],
        "summary": "List credit card refunds",
        "description": "Returns the credit card refunds that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ARRefundCreditCardQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the credit card refunds with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the credit card refunds with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card refunds with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only credit card refunds with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of credit card refunds per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of credit card refunds per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card refunds changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card refunds changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit card refunds changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card refunds changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card refunds dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card refunds dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit card refunds dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit card refunds dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card refunds linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card refunds linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card refunds that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card refunds that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card refunds whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card refunds whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card refunds whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card refunds whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card refunds whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit card refunds whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card refunds whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card refunds whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit card refunds whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit card refunds whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit card refunds in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit card refunds in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each credit card refund. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each credit card refund. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of credit card refunds.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardRefundList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditCardRefunds.create",
        "tags": [
          "Credit card refunds"
        ],
        "summary": "Create a credit card refund",
        "description": "Creates a credit card refund in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second credit card refund (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ARRefundCreditCardAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditCardRefundCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created credit card refund.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardRefund"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-refunds/{id}": {
      "get": {
        "operationId": "qbd.creditCardRefunds.retrieve",
        "tags": [
          "Credit card refunds"
        ],
        "summary": "Retrieve a credit card refund",
        "description": "Returns one credit card refund by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ARRefundCreditCardQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card refund.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card refund.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The credit card refund.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardRefund"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.creditCardRefunds.delete",
        "tags": [
          "Credit card refunds"
        ],
        "summary": "Delete a credit card refund",
        "description": "Permanently deletes a credit card refund. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=ARRefundCreditCard"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card refund.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card refund.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted credit card refund.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardRefundDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-card-refunds/{id}/void": {
      "post": {
        "operationId": "qbd.creditCardRefunds.void",
        "tags": [
          "Credit card refunds"
        ],
        "summary": "Void a credit card refund",
        "description": "Voids a credit card refund: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the credit card refund must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=ARRefundCreditCard"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit card refund.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit card refund.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided credit card refund.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditCardRefundVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-memos": {
      "get": {
        "operationId": "qbd.creditMemos.list",
        "tags": [
          "Credit memos"
        ],
        "summary": "List credit memos",
        "description": "Returns the credit memos that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "CreditMemoQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the credit memos with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the credit memos with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit memos with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only credit memos with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of credit memos per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of credit memos per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit memos changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit memos changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return credit memos changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit memos changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit memos dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit memos dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return credit memos dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return credit memos dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit memos linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit memos linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit memos that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit memos that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit memos whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit memos whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit memos whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit memos whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit memos whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return credit memos whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit memos whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit memos whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return credit memos whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return credit memos whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only credit memos in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only credit memos in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each credit memo. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each credit memo. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each credit memo, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each credit memo, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of credit memos.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemoList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditMemos.create",
        "tags": [
          "Credit memos"
        ],
        "summary": "Create a credit memo",
        "description": "Creates a credit memo in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second credit memo (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CreditMemoAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditMemoCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created credit memo.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemo"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-memos/{id}": {
      "get": {
        "operationId": "qbd.creditMemos.retrieve",
        "tags": [
          "Credit memos"
        ],
        "summary": "Retrieve a credit memo",
        "description": "Returns one credit memo by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CreditMemoQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit memo.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit memo.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The credit memo.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemo"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.creditMemos.update",
        "tags": [
          "Credit memos"
        ],
        "summary": "Update a credit memo",
        "description": "Changes the fields you send on an existing credit memo and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the credit memo, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CreditMemoMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit memo.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit memo.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCreditMemoUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated credit memo.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemo"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.creditMemos.delete",
        "tags": [
          "Credit memos"
        ],
        "summary": "Delete a credit memo",
        "description": "Permanently deletes a credit memo. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=CreditMemo"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit memo.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit memo.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted credit memo.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemoDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/credit-memos/{id}/void": {
      "post": {
        "operationId": "qbd.creditMemos.void",
        "tags": [
          "Credit memos"
        ],
        "summary": "Void a credit memo",
        "description": "Voids a credit memo: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the credit memo must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=CreditMemo"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the credit memo.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the credit memo.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided credit memo.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCreditMemoVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/currencies": {
      "get": {
        "operationId": "qbd.currencies.list",
        "tags": [
          "Currencies"
        ],
        "summary": "List currencies",
        "description": "Returns the currencies that match your filters. QuickBooks has no cursor for this list, so the response contains every matching currency at once.",
        "x-daapi-qbxml": {
          "message": "CurrencyQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the currencies with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the currencies with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the currencies with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the currencies with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of currencies to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of currencies to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter currencies by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter currencies by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return currencies changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return currencies changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return currencies changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return currencies changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return currencies whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return currencies whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return currencies whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return currencies whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return currencies whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return currencies whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return currencies whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return currencies whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return currencies whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return currencies whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of currencies.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCurrencyList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.currencies.create",
        "tags": [
          "Currencies"
        ],
        "summary": "Create a currency",
        "description": "Creates a currency in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second currency (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CurrencyAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCurrencyCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created currency.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCurrency"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/currencies/{id}": {
      "get": {
        "operationId": "qbd.currencies.retrieve",
        "tags": [
          "Currencies"
        ],
        "summary": "Retrieve a currency",
        "description": "Returns one currency by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CurrencyQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the currency.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the currency.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The currency.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCurrency"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.currencies.update",
        "tags": [
          "Currencies"
        ],
        "summary": "Update a currency",
        "description": "Changes the fields you send on an existing currency and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the currency, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CurrencyMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the currency.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the currency.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCurrencyUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated currency.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCurrency"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/customer-types": {
      "get": {
        "operationId": "qbd.customerTypes.list",
        "tags": [
          "Customer types"
        ],
        "summary": "List customer types",
        "description": "Returns the customer types that match your filters. QuickBooks has no cursor for this list, so the response contains every matching customer type at once.",
        "x-daapi-qbxml": {
          "message": "CustomerTypeQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the customer types with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the customer types with these QuickBooks IDs. Cannot be combined with fullNames, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the customer types with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the customer types with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of customer types to return. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Maximum number of customer types to return. Cannot be combined with ids, fullNames.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter customer types by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter customer types by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return customer types changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customer types changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return customer types changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customer types changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customer types whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customer types whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customer types whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customer types whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customer types whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customer types whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customer types whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return customer types whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customer types whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return customer types whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of customer types.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomerTypeList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.customerTypes.create",
        "tags": [
          "Customer types"
        ],
        "summary": "Create a customer type",
        "description": "Creates a customer type in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second customer type (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CustomerTypeAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCustomerTypeCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created customer type.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomerType"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/customer-types/{id}": {
      "get": {
        "operationId": "qbd.customerTypes.retrieve",
        "tags": [
          "Customer types"
        ],
        "summary": "Retrieve a customer type",
        "description": "Returns one customer type by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CustomerTypeQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the customer type.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the customer type.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The customer type.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomerType"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/customers": {
      "get": {
        "operationId": "qbd.customers.list",
        "tags": [
          "Customers"
        ],
        "summary": "List customers",
        "description": "Returns the customers that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "CustomerQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the customers with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the customers with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the customers with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the customers with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of customers per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of customers per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter customers by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter customers by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return customers changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return customers changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customers whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customers whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customers whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customers whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customers whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return customers whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customers whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return customers whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return customers whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return customers whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return customers whose total balance equals this amount (decimal string). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers whose total balance equals this amount (decimal string). Cannot be combined with ids, fullNames.",
            "name": "totalBalance",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return customers whose total balance is greater than this amount (decimal string). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers whose total balance is greater than this amount (decimal string). Cannot be combined with ids, fullNames.",
            "name": "totalBalanceGreaterThan",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return customers whose total balance is at least this amount (decimal string). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers whose total balance is at least this amount (decimal string). Cannot be combined with ids, fullNames.",
            "name": "totalBalanceGreaterThanOrEqualTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return customers whose total balance is less than this amount (decimal string). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers whose total balance is less than this amount (decimal string). Cannot be combined with ids, fullNames.",
            "name": "totalBalanceLessThan",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return customers whose total balance is at most this amount (decimal string). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return customers whose total balance is at most this amount (decimal string). Cannot be combined with ids, fullNames.",
            "name": "totalBalanceLessThanOrEqualTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only customers in these currency IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only customers in these currency IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only customers assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only customers assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "When true, QuickBooks does not return alternate shipping addresses and each customer's alternateShippingAddresses is null. Speeds up large company files where customers have many saved addresses. Defaults to false.",
              "default": false
            },
            "required": false,
            "description": "When true, QuickBooks does not return alternate shipping addresses and each customer's alternateShippingAddresses is null. Speeds up large company files where customers have many saved addresses. Defaults to false.",
            "name": "excludeAlternateShippingAddresses",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of customers.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomerList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.customers.create",
        "tags": [
          "Customers"
        ],
        "summary": "Create a customer",
        "description": "Creates a customer in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second customer (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "CustomerAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCustomerCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created customer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/customers/{id}": {
      "get": {
        "operationId": "qbd.customers.retrieve",
        "tags": [
          "Customers"
        ],
        "summary": "Retrieve a customer",
        "description": "Returns one customer by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "CustomerQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the customer.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the customer.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The customer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.customers.update",
        "tags": [
          "Customers"
        ],
        "summary": "Update a customer",
        "description": "Changes the fields you send on an existing customer and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the customer, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "CustomerMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the customer.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the customer.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdCustomerUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated customer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdCustomer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/date-driven-terms": {
      "get": {
        "operationId": "qbd.dateDrivenTerms.list",
        "tags": [
          "Date driven terms"
        ],
        "summary": "List date-driven terms",
        "description": "Returns the date-driven terms that match your filters. QuickBooks has no cursor for this list, so the response contains every matching date-driven term at once.",
        "x-daapi-qbxml": {
          "message": "DateDrivenTermsQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the date-driven terms with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the date-driven terms with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the date-driven terms with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the date-driven terms with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of date-driven terms to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of date-driven terms to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter date-driven terms by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter date-driven terms by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return date-driven terms changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return date-driven terms changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return date-driven terms changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return date-driven terms changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return date-driven terms whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return date-driven terms whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return date-driven terms whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return date-driven terms whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return date-driven terms whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return date-driven terms whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return date-driven terms whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return date-driven terms whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return date-driven terms whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return date-driven terms whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of date-driven terms.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDateDrivenTermList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.dateDrivenTerms.create",
        "tags": [
          "Date driven terms"
        ],
        "summary": "Create a date-driven term",
        "description": "Creates a date-driven term in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second date-driven term (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "DateDrivenTermsAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdDateDrivenTermCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created date-driven term.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDateDrivenTerm"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/date-driven-terms/{id}": {
      "get": {
        "operationId": "qbd.dateDrivenTerms.retrieve",
        "tags": [
          "Date driven terms"
        ],
        "summary": "Retrieve a date-driven term",
        "description": "Returns one date-driven term by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "DateDrivenTermsQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the date-driven term.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the date-driven term.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The date-driven term.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDateDrivenTerm"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/deleted-list-objects": {
      "get": {
        "operationId": "qbd.deletedListObjects.list",
        "tags": [
          "Deleted list objects"
        ],
        "summary": "List deleted list objects",
        "description": "Returns the deleted list objects that match your filters. QuickBooks has no cursor for this list, so the response contains every matching deleted list object at once.",
        "x-daapi-qbxml": {
          "message": "ListDeletedQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdObjectType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by object types."
            },
            "required": true,
            "description": "Filter by object types.",
            "style": "form",
            "explode": true,
            "name": "objectTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return objects deleted on or after this date or date-time."
            },
            "required": false,
            "description": "Return objects deleted on or after this date or date-time.",
            "name": "deletedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return objects deleted on or before this date or date-time."
            },
            "required": false,
            "description": "Return objects deleted on or before this date or date-time.",
            "name": "deletedBefore",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of deleted list objects.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDeletedListObjectList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/deleted-transactions": {
      "get": {
        "operationId": "qbd.deletedTransactions.list",
        "tags": [
          "Deleted transactions"
        ],
        "summary": "List deleted transactions",
        "description": "Returns the deleted transactions that match your filters. QuickBooks has no cursor for this list, so the response contains every matching deleted transaction at once.",
        "x-daapi-qbxml": {
          "message": "TxnDeletedQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdDeletedTransactionTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": true,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return objects deleted on or after this date or date-time."
            },
            "required": false,
            "description": "Return objects deleted on or after this date or date-time.",
            "name": "deletedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return objects deleted on or before this date or date-time."
            },
            "required": false,
            "description": "Return objects deleted on or before this date or date-time.",
            "name": "deletedBefore",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of deleted transactions.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDeletedTransactionList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/deposits": {
      "get": {
        "operationId": "qbd.deposits.list",
        "tags": [
          "Deposits"
        ],
        "summary": "List deposits",
        "description": "Returns the deposits that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "DepositQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the deposits with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the deposits with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of deposits per page, 1 to 150. Ignored with ids, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of deposits per page, 1 to 150. Ignored with ids, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return deposits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return deposits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return deposits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return deposits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return deposits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return deposits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return deposits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return deposits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only deposits linked to these entity IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only deposits linked to these entity IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only deposits that use these account IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only deposits that use these account IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only deposits in these currency IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only deposits in these currency IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each deposit. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each deposit. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of deposits.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDepositList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.deposits.create",
        "tags": [
          "Deposits"
        ],
        "summary": "Create a deposit",
        "description": "Creates a deposit in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second deposit (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "DepositAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdDepositCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created deposit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDeposit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/deposits/{id}": {
      "get": {
        "operationId": "qbd.deposits.retrieve",
        "tags": [
          "Deposits"
        ],
        "summary": "Retrieve a deposit",
        "description": "Returns one deposit by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "DepositQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the deposit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the deposit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deposit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDeposit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.deposits.update",
        "tags": [
          "Deposits"
        ],
        "summary": "Update a deposit",
        "description": "Changes the fields you send on an existing deposit and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the deposit, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "DepositMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the deposit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the deposit.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdDepositUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated deposit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDeposit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.deposits.delete",
        "tags": [
          "Deposits"
        ],
        "summary": "Delete a deposit",
        "description": "Permanently deletes a deposit. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=Deposit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the deposit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the deposit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted deposit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDepositDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/deposits/{id}/void": {
      "post": {
        "operationId": "qbd.deposits.void",
        "tags": [
          "Deposits"
        ],
        "summary": "Void a deposit",
        "description": "Voids a deposit: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the deposit must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=Deposit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the deposit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the deposit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided deposit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDepositVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/discount-items": {
      "get": {
        "operationId": "qbd.discountItems.list",
        "tags": [
          "Discount items"
        ],
        "summary": "List discount items",
        "description": "Returns the discount items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemDiscountQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the discount items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the discount items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the discount items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the discount items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of discount items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of discount items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter discount items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter discount items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return discount items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return discount items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return discount items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return discount items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return discount items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return discount items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return discount items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return discount items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return discount items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return discount items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return discount items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return discount items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return discount items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return discount items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only discount items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only discount items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of discount items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDiscountItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.discountItems.create",
        "tags": [
          "Discount items"
        ],
        "summary": "Create a discount item",
        "description": "Creates a discount item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second discount item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemDiscountAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdDiscountItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created discount item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDiscountItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/discount-items/{id}": {
      "get": {
        "operationId": "qbd.discountItems.retrieve",
        "tags": [
          "Discount items"
        ],
        "summary": "Retrieve a discount item",
        "description": "Returns one discount item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemDiscountQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the discount item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the discount item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The discount item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDiscountItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.discountItems.update",
        "tags": [
          "Discount items"
        ],
        "summary": "Update a discount item",
        "description": "Changes the fields you send on an existing discount item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the discount item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemDiscountMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the discount item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the discount item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdDiscountItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated discount item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdDiscountItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/employees": {
      "get": {
        "operationId": "qbd.employees.list",
        "tags": [
          "Employees"
        ],
        "summary": "List employees",
        "description": "Returns the employees that match your filters. QuickBooks has no cursor for this list, so the response contains every matching employee at once.",
        "x-daapi-qbxml": {
          "message": "EmployeeQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the employees with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the employees with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the employees with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the employees with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of employees to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of employees to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter employees by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter employees by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return employees changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return employees changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return employees changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return employees changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return employees whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return employees whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return employees whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return employees whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return employees whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return employees whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return employees whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return employees whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return employees whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return employees whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of employees.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEmployeeList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.employees.create",
        "tags": [
          "Employees"
        ],
        "summary": "Create an employee",
        "description": "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](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "EmployeeAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdEmployeeCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created employee.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEmployee"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/employees/{id}": {
      "get": {
        "operationId": "qbd.employees.retrieve",
        "tags": [
          "Employees"
        ],
        "summary": "Retrieve an employee",
        "description": "Returns one employee by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "EmployeeQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the employee.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the employee.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The employee.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEmployee"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.employees.update",
        "tags": [
          "Employees"
        ],
        "summary": "Update an employee",
        "description": "Changes the fields you send on an existing employee and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the employee, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "EmployeeMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the employee.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the employee.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdEmployeeUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated employee.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEmployee"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/estimates": {
      "get": {
        "operationId": "qbd.estimates.list",
        "tags": [
          "Estimates"
        ],
        "summary": "List estimates",
        "description": "Returns the estimates that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "EstimateQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the estimates with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the estimates with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only estimates with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only estimates with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of estimates per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of estimates per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return estimates changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return estimates changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return estimates changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return estimates changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return estimates dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return estimates dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return estimates dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return estimates dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only estimates linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only estimates linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only estimates that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only estimates that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return estimates whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return estimates whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return estimates whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return estimates whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return estimates whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return estimates whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return estimates whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return estimates whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return estimates whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return estimates whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only estimates in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only estimates in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each estimate. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each estimate. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each estimate, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each estimate, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of estimates.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEstimateList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.estimates.create",
        "tags": [
          "Estimates"
        ],
        "summary": "Create an estimate",
        "description": "Creates an estimate in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second estimate (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "EstimateAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdEstimateCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created estimate.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEstimate"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/estimates/{id}": {
      "get": {
        "operationId": "qbd.estimates.retrieve",
        "tags": [
          "Estimates"
        ],
        "summary": "Retrieve an estimate",
        "description": "Returns one estimate by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "EstimateQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the estimate.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the estimate.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The estimate.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEstimate"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.estimates.update",
        "tags": [
          "Estimates"
        ],
        "summary": "Update an estimate",
        "description": "Changes the fields you send on an existing estimate and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the estimate, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "EstimateMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the estimate.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the estimate.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdEstimateUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated estimate.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEstimate"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.estimates.delete",
        "tags": [
          "Estimates"
        ],
        "summary": "Delete an estimate",
        "description": "Permanently deletes an estimate. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=Estimate"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the estimate.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the estimate.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted estimate.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdEstimateDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-adjustments": {
      "get": {
        "operationId": "qbd.inventoryAdjustments.list",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "List inventory adjustments",
        "description": "Returns the inventory adjustments that match your filters. QuickBooks has no cursor for this list, so the response contains every matching inventory adjustment at once.",
        "x-daapi-qbxml": {
          "message": "InventoryAdjustmentQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory adjustments with these QuickBooks IDs. Cannot be combined with refNumbers, limit, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return only the inventory adjustments with these QuickBooks IDs. Cannot be combined with refNumbers, limit, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory adjustments with these reference numbers (case-insensitive). Cannot be combined with ids, limit, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return only inventory adjustments with these reference numbers (case-insensitive). Cannot be combined with ids, limit, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of inventory adjustments to return. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Maximum number of inventory adjustments to return. Cannot be combined with ids, refNumbers.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory adjustments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return inventory adjustments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory adjustments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return inventory adjustments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return inventory adjustments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return inventory adjustments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return inventory adjustments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return inventory adjustments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory adjustments linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only inventory adjustments linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory adjustments that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only inventory adjustments that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory adjustments that include these item IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only inventory adjustments that include these item IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory adjustments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return inventory adjustments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory adjustments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return inventory adjustments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory adjustments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return inventory adjustments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory adjustments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return inventory adjustments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory adjustments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return inventory adjustments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each inventory adjustment. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each inventory adjustment. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of inventory adjustments.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustmentList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryAdjustments.create",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "Create an inventory adjustment",
        "description": "Creates an inventory adjustment in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second inventory adjustment (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "InventoryAdjustmentAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryAdjustmentCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created inventory adjustment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-adjustments/{id}": {
      "get": {
        "operationId": "qbd.inventoryAdjustments.retrieve",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "Retrieve an inventory adjustment",
        "description": "Returns one inventory adjustment by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "InventoryAdjustmentQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory adjustment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory adjustment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The inventory adjustment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryAdjustments.update",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "Update an inventory adjustment",
        "description": "Changes the fields you send on an existing inventory adjustment and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the inventory adjustment, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "InventoryAdjustmentMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory adjustment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory adjustment.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryAdjustmentUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated inventory adjustment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.inventoryAdjustments.delete",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "Delete an inventory adjustment",
        "description": "Permanently deletes an inventory adjustment. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=InventoryAdjustment"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory adjustment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory adjustment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted inventory adjustment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustmentDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-adjustments/{id}/void": {
      "post": {
        "operationId": "qbd.inventoryAdjustments.void",
        "tags": [
          "Inventory adjustments"
        ],
        "summary": "Void an inventory adjustment",
        "description": "Voids an inventory adjustment: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the inventory adjustment must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=InventoryAdjustment"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory adjustment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory adjustment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided inventory adjustment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAdjustmentVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-assembly-items": {
      "get": {
        "operationId": "qbd.inventoryAssemblyItems.list",
        "tags": [
          "Inventory assembly items"
        ],
        "summary": "List inventory assembly items",
        "description": "Returns the inventory assembly items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryAssemblyQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory assembly items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the inventory assembly items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory assembly items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the inventory assembly items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of inventory assembly items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of inventory assembly items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter inventory assembly items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter inventory assembly items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory assembly items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return inventory assembly items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory assembly items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return inventory assembly items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory assembly items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory assembly items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory assembly items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory assembly items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory assembly items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory assembly items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory assembly items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory assembly items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory assembly items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory assembly items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory assembly items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only inventory assembly items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of inventory assembly items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAssemblyItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryAssemblyItems.create",
        "tags": [
          "Inventory assembly items"
        ],
        "summary": "Create an inventory assembly item",
        "description": "Creates an inventory assembly item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second inventory assembly item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryAssemblyAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryAssemblyItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created inventory assembly item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAssemblyItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-assembly-items/{id}": {
      "get": {
        "operationId": "qbd.inventoryAssemblyItems.retrieve",
        "tags": [
          "Inventory assembly items"
        ],
        "summary": "Retrieve an inventory assembly item",
        "description": "Returns one inventory assembly item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemInventoryAssemblyQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory assembly item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory assembly item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The inventory assembly item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAssemblyItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryAssemblyItems.update",
        "tags": [
          "Inventory assembly items"
        ],
        "summary": "Update an inventory assembly item",
        "description": "Changes the fields you send on an existing inventory assembly item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the inventory assembly item, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryAssemblyMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory assembly item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory assembly item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryAssemblyItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated inventory assembly item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryAssemblyItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-items": {
      "get": {
        "operationId": "qbd.inventoryItems.list",
        "tags": [
          "Inventory items"
        ],
        "summary": "List inventory items",
        "description": "Returns the inventory items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the inventory items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the inventory items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of inventory items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of inventory items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter inventory items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter inventory items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return inventory items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return inventory items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only inventory items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only inventory items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of inventory items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryItems.create",
        "tags": [
          "Inventory items"
        ],
        "summary": "Create an inventory item",
        "description": "Creates an inventory item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second inventory item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-items/{id}": {
      "get": {
        "operationId": "qbd.inventoryItems.retrieve",
        "tags": [
          "Inventory items"
        ],
        "summary": "Retrieve an inventory item",
        "description": "Returns one inventory item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemInventoryQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventoryItems.update",
        "tags": [
          "Inventory items"
        ],
        "summary": "Update an inventory item",
        "description": "Changes the fields you send on an existing inventory item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the inventory item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemInventoryMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventoryItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-sites": {
      "get": {
        "operationId": "qbd.inventorySites.list",
        "tags": [
          "Inventory sites"
        ],
        "summary": "List inventory sites",
        "description": "Returns the inventory sites that match your filters. QuickBooks has no cursor for this list, so the response contains every matching inventory site at once.",
        "x-daapi-qbxml": {
          "message": "InventorySiteQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory sites with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the inventory sites with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the inventory sites with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the inventory sites with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter inventory sites by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter inventory sites by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory sites changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return inventory sites changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return inventory sites changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return inventory sites changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory sites whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory sites whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory sites whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory sites whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory sites whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return inventory sites whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory sites whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory sites whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return inventory sites whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return inventory sites whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of inventory sites.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventorySiteList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventorySites.create",
        "tags": [
          "Inventory sites"
        ],
        "summary": "Create an inventory site",
        "description": "Creates an inventory site in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second inventory site (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "InventorySiteAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventorySiteCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created inventory site.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventorySite"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/inventory-sites/{id}": {
      "get": {
        "operationId": "qbd.inventorySites.retrieve",
        "tags": [
          "Inventory sites"
        ],
        "summary": "Retrieve an inventory site",
        "description": "Returns one inventory site by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "InventorySiteQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory site.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory site.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The inventory site.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventorySite"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.inventorySites.update",
        "tags": [
          "Inventory sites"
        ],
        "summary": "Update an inventory site",
        "description": "Changes the fields you send on an existing inventory site and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the inventory site, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "InventorySiteMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the inventory site.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the inventory site.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInventorySiteUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated inventory site.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInventorySite"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/invoices": {
      "get": {
        "operationId": "qbd.invoices.list",
        "tags": [
          "Invoices"
        ],
        "summary": "List invoices",
        "description": "Returns the invoices that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "InvoiceQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the invoices with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the invoices with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only invoices with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only invoices with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds, paymentStatus. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of invoices per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of invoices per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return invoices changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return invoices changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return invoices changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return invoices changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return invoices dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return invoices dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return invoices dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return invoices dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only invoices linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only invoices linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only invoices that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only invoices that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return invoices whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return invoices whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return invoices whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return invoices whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return invoices whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return invoices whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return invoices whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return invoices whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return invoices whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return invoices whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only invoices in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only invoices in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdPaymentStatus"
                },
                {
                  "description": "Filter invoices by payment state. Cannot be combined with ids, refNumbers."
                }
              ]
            },
            "required": false,
            "description": "Filter invoices by payment state. Cannot be combined with ids, refNumbers.",
            "name": "paymentStatus",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each invoice. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each invoice. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each invoice, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each invoice, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of invoices.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoiceList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.invoices.create",
        "tags": [
          "Invoices"
        ],
        "summary": "Create an invoice",
        "description": "Creates an invoice in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second invoice (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "InvoiceAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInvoiceCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created invoice.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoice"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/invoices/{id}": {
      "get": {
        "operationId": "qbd.invoices.retrieve",
        "tags": [
          "Invoices"
        ],
        "summary": "Retrieve an invoice",
        "description": "Returns one invoice by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "InvoiceQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the invoice.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the invoice.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The invoice.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoice"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.invoices.update",
        "tags": [
          "Invoices"
        ],
        "summary": "Update an invoice",
        "description": "Changes the fields you send on an existing invoice and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the invoice, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "InvoiceMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the invoice.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the invoice.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdInvoiceUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated invoice.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoice"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.invoices.delete",
        "tags": [
          "Invoices"
        ],
        "summary": "Delete an invoice",
        "description": "Permanently deletes an invoice. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=Invoice"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the invoice.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the invoice.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted invoice.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoiceDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/invoices/{id}/void": {
      "post": {
        "operationId": "qbd.invoices.void",
        "tags": [
          "Invoices"
        ],
        "summary": "Void an invoice",
        "description": "Voids an invoice: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the invoice must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=Invoice"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the invoice.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the invoice.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided invoice.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdInvoiceVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-groups": {
      "get": {
        "operationId": "qbd.itemGroups.list",
        "tags": [
          "Item groups"
        ],
        "summary": "List item groups",
        "description": "Returns the item groups that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemGroupQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the item groups with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the item groups with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the item groups with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the item groups with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of item groups per page, 1 to 150. Ignored with ids, names, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of item groups per page, 1 to 150. Ignored with ids, names, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter item groups by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter item groups by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return item groups changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return item groups changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return item groups changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return item groups changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item groups whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return item groups whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item groups whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return item groups whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item groups whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return item groups whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item groups whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return item groups whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item groups whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return item groups whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of item groups.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemGroupList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.itemGroups.create",
        "tags": [
          "Item groups"
        ],
        "summary": "Create an item group",
        "description": "Creates an item group in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second item group (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemGroupAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdItemGroupCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created item group.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemGroup"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-groups/{id}": {
      "get": {
        "operationId": "qbd.itemGroups.retrieve",
        "tags": [
          "Item groups"
        ],
        "summary": "Retrieve an item group",
        "description": "Returns one item group by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemGroupQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item group.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item group.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The item group.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemGroup"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.itemGroups.update",
        "tags": [
          "Item groups"
        ],
        "summary": "Update an item group",
        "description": "Changes the fields you send on an existing item group and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the item group, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemGroupMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item group.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item group.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdItemGroupUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated item group.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemGroup"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-receipts": {
      "get": {
        "operationId": "qbd.itemReceipts.list",
        "tags": [
          "Item receipts"
        ],
        "summary": "List item receipts",
        "description": "Returns the item receipts that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemReceiptQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the item receipts with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the item receipts with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item receipts with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only item receipts with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of item receipts per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of item receipts per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return item receipts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return item receipts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return item receipts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return item receipts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return item receipts dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return item receipts dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return item receipts dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return item receipts dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item receipts linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only item receipts linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item receipts that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only item receipts that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item receipts whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return item receipts whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item receipts whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return item receipts whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item receipts whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return item receipts whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item receipts whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return item receipts whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return item receipts whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return item receipts whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item receipts in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only item receipts in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each item receipt. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each item receipt. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each item receipt, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each item receipt, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of item receipts.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceiptList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.itemReceipts.create",
        "tags": [
          "Item receipts"
        ],
        "summary": "Create an item receipt",
        "description": "Creates an item receipt in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second item receipt (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemReceiptAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdItemReceiptCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created item receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-receipts/{id}": {
      "get": {
        "operationId": "qbd.itemReceipts.retrieve",
        "tags": [
          "Item receipts"
        ],
        "summary": "Retrieve an item receipt",
        "description": "Returns one item receipt by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemReceiptQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The item receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.itemReceipts.update",
        "tags": [
          "Item receipts"
        ],
        "summary": "Update an item receipt",
        "description": "Changes the fields you send on an existing item receipt and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the item receipt, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemReceiptMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdItemReceiptUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated item receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.itemReceipts.delete",
        "tags": [
          "Item receipts"
        ],
        "summary": "Delete an item receipt",
        "description": "Permanently deletes an item receipt. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=ItemReceipt"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted item receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceiptDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-receipts/{id}/void": {
      "post": {
        "operationId": "qbd.itemReceipts.void",
        "tags": [
          "Item receipts"
        ],
        "summary": "Void an item receipt",
        "description": "Voids an item receipt: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the item receipt must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=ItemReceipt"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided item receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemReceiptVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-sites": {
      "get": {
        "operationId": "qbd.itemSites.list",
        "tags": [
          "Item sites"
        ],
        "summary": "List item sites",
        "description": "Returns the item sites that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemSitesQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the item sites with these QuickBooks IDs. Cannot be combined with itemType, itemIds, siteIds."
            },
            "required": false,
            "description": "Return only the item sites with these QuickBooks IDs. Cannot be combined with itemType, itemIds, siteIds.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdItemType"
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with ids, itemIds, siteIds.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item sites that include these item IDs. Cannot be combined with ids, itemType."
            },
            "required": false,
            "description": "Return only item sites that include these item IDs. Cannot be combined with ids, itemType.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only item sites at these inventory site IDs. Cannot be combined with ids, itemType."
            },
            "required": false,
            "description": "Return only item sites at these inventory site IDs. Cannot be combined with ids, itemType.",
            "style": "form",
            "explode": true,
            "name": "siteIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of item sites per page, 1 to 150."
            },
            "required": false,
            "description": "Maximum number of item sites per page, 1 to 150.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter item sites by active state. Defaults to active ones only."
                }
              ]
            },
            "required": false,
            "description": "Filter item sites by active state. Defaults to active ones only.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of item sites.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemSiteList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/item-sites/{id}": {
      "get": {
        "operationId": "qbd.itemSites.retrieve",
        "tags": [
          "Item sites"
        ],
        "summary": "Retrieve an item site",
        "description": "Returns one item site by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemSitesQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the item site.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the item site.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The item site.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdItemSite"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/journal-entries": {
      "get": {
        "operationId": "qbd.journalEntries.list",
        "tags": [
          "Journal entries"
        ],
        "summary": "List journal entries",
        "description": "Returns the journal entries that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "JournalEntryQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the journal entries with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the journal entries with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only journal entries with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only journal entries with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of journal entries per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of journal entries per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return journal entries changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return journal entries changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return journal entries changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return journal entries changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return journal entries dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return journal entries dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return journal entries dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return journal entries dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only journal entries linked to these entity IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only journal entries linked to these entity IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only journal entries that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only journal entries that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return journal entries whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return journal entries whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return journal entries whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return journal entries whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return journal entries whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return journal entries whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return journal entries whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return journal entries whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return journal entries whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return journal entries whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only journal entries in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only journal entries in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each journal entry. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each journal entry. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of journal entries.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntryList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.journalEntries.create",
        "tags": [
          "Journal entries"
        ],
        "summary": "Create a journal entry",
        "description": "Creates a journal entry in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second journal entry (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "JournalEntryAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdJournalEntryCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created journal entry.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntry"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/journal-entries/{id}": {
      "get": {
        "operationId": "qbd.journalEntries.retrieve",
        "tags": [
          "Journal entries"
        ],
        "summary": "Retrieve a journal entry",
        "description": "Returns one journal entry by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "JournalEntryQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the journal entry.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the journal entry.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The journal entry.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntry"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.journalEntries.update",
        "tags": [
          "Journal entries"
        ],
        "summary": "Update a journal entry",
        "description": "Changes the fields you send on an existing journal entry and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the journal entry, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "JournalEntryMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the journal entry.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the journal entry.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdJournalEntryUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated journal entry.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntry"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.journalEntries.delete",
        "tags": [
          "Journal entries"
        ],
        "summary": "Delete a journal entry",
        "description": "Permanently deletes a journal entry. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=JournalEntry"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the journal entry.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the journal entry.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted journal entry.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntryDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/journal-entries/{id}/void": {
      "post": {
        "operationId": "qbd.journalEntries.void",
        "tags": [
          "Journal entries"
        ],
        "summary": "Void a journal entry",
        "description": "Voids a journal entry: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the journal entry must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=JournalEntry"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the journal entry.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the journal entry.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided journal entry.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdJournalEntryVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/non-inventory-items": {
      "get": {
        "operationId": "qbd.nonInventoryItems.list",
        "tags": [
          "Non inventory items"
        ],
        "summary": "List non-inventory items",
        "description": "Returns the non-inventory items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemNonInventoryQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the non-inventory items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the non-inventory items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the non-inventory items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the non-inventory items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of non-inventory items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of non-inventory items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter non-inventory items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter non-inventory items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return non-inventory items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return non-inventory items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return non-inventory items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return non-inventory items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return non-inventory items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return non-inventory items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return non-inventory items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return non-inventory items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return non-inventory items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return non-inventory items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return non-inventory items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return non-inventory items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return non-inventory items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return non-inventory items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only non-inventory items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only non-inventory items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of non-inventory items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdNonInventoryItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.nonInventoryItems.create",
        "tags": [
          "Non inventory items"
        ],
        "summary": "Create a non-inventory item",
        "description": "Creates a non-inventory item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second non-inventory item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemNonInventoryAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdNonInventoryItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created non-inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdNonInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/non-inventory-items/{id}": {
      "get": {
        "operationId": "qbd.nonInventoryItems.retrieve",
        "tags": [
          "Non inventory items"
        ],
        "summary": "Retrieve a non-inventory item",
        "description": "Returns one non-inventory item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemNonInventoryQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the non-inventory item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the non-inventory item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The non-inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdNonInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.nonInventoryItems.update",
        "tags": [
          "Non inventory items"
        ],
        "summary": "Update a non-inventory item",
        "description": "Changes the fields you send on an existing non-inventory item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the non-inventory item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemNonInventoryMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the non-inventory item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the non-inventory item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdNonInventoryItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated non-inventory item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdNonInventoryItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/other-charge-items": {
      "get": {
        "operationId": "qbd.otherChargeItems.list",
        "tags": [
          "Other charge items"
        ],
        "summary": "List other charge items",
        "description": "Returns the other charge items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemOtherChargeQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the other charge items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the other charge items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the other charge items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the other charge items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of other charge items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of other charge items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter other charge items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter other charge items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return other charge items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return other charge items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return other charge items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return other charge items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other charge items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other charge items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other charge items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other charge items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other charge items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other charge items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other charge items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return other charge items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other charge items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return other charge items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only other charge items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only other charge items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of other charge items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherChargeItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.otherChargeItems.create",
        "tags": [
          "Other charge items"
        ],
        "summary": "Create an other charge item",
        "description": "Creates an other charge item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second other charge item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemOtherChargeAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdOtherChargeItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created other charge item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherChargeItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/other-charge-items/{id}": {
      "get": {
        "operationId": "qbd.otherChargeItems.retrieve",
        "tags": [
          "Other charge items"
        ],
        "summary": "Retrieve an other charge item",
        "description": "Returns one other charge item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemOtherChargeQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the other charge item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the other charge item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The other charge item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherChargeItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.otherChargeItems.update",
        "tags": [
          "Other charge items"
        ],
        "summary": "Update an other charge item",
        "description": "Changes the fields you send on an existing other charge item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the other charge item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemOtherChargeMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the other charge item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the other charge item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdOtherChargeItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated other charge item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherChargeItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/other-names": {
      "get": {
        "operationId": "qbd.otherNames.list",
        "tags": [
          "Other names"
        ],
        "summary": "List other names",
        "description": "Returns the other names that match your filters. QuickBooks has no cursor for this list, so the response contains every matching other name at once.",
        "x-daapi-qbxml": {
          "message": "OtherNameQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the other names with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the other names with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the other names with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the other names with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of other names to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of other names to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter other names by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter other names by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return other names changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return other names changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return other names changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return other names changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other names whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other names whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other names whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other names whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other names whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return other names whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other names whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return other names whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return other names whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return other names whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of other names.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherNameList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.otherNames.create",
        "tags": [
          "Other names"
        ],
        "summary": "Create an other name",
        "description": "Creates an other name in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second other name (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "OtherNameAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdOtherNameCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created other name.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherName"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/other-names/{id}": {
      "get": {
        "operationId": "qbd.otherNames.retrieve",
        "tags": [
          "Other names"
        ],
        "summary": "Retrieve an other name",
        "description": "Returns one other name by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "OtherNameQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the other name.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the other name.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The other name.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherName"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.otherNames.update",
        "tags": [
          "Other names"
        ],
        "summary": "Update an other name",
        "description": "Changes the fields you send on an existing other name and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the other name, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "OtherNameMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the other name.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the other name.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdOtherNameUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated other name.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdOtherName"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/payment-methods": {
      "get": {
        "operationId": "qbd.paymentMethods.list",
        "tags": [
          "Payment methods"
        ],
        "summary": "List payment methods",
        "description": "Returns the payment methods that match your filters. QuickBooks has no cursor for this list, so the response contains every matching payment method at once.",
        "x-daapi-qbxml": {
          "message": "PaymentMethodQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the payment methods with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, paymentMethodTypes."
            },
            "required": false,
            "description": "Return only the payment methods with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, paymentMethodTypes.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the payment methods with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, paymentMethodTypes."
            },
            "required": false,
            "description": "Return only the payment methods with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, paymentMethodTypes.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of payment methods to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of payment methods to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter payment methods by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter payment methods by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return payment methods changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return payment methods changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return payment methods changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return payment methods changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payment methods whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payment methods whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payment methods whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payment methods whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payment methods whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payment methods whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payment methods whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return payment methods whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payment methods whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return payment methods whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPaymentMethodType"
            },
            "required": false,
            "description": "Filter by payment method types. Cannot be combined with ids, names.",
            "name": "paymentMethodType",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of payment methods.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPaymentMethodList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.paymentMethods.create",
        "tags": [
          "Payment methods"
        ],
        "summary": "Create a payment method",
        "description": "Creates a payment method in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second payment method (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "PaymentMethodAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPaymentMethodCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created payment method.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPaymentMethod"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/payment-methods/{id}": {
      "get": {
        "operationId": "qbd.paymentMethods.retrieve",
        "tags": [
          "Payment methods"
        ],
        "summary": "Retrieve a payment method",
        "description": "Returns one payment method by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "PaymentMethodQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the payment method.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the payment method.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The payment method.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPaymentMethod"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/payments-to-deposit": {
      "get": {
        "operationId": "qbd.paymentsToDeposit.list",
        "tags": [
          "Payments to deposit"
        ],
        "summary": "List payment to deposits",
        "description": "Returns the payment to deposits that match your filters. QuickBooks has no cursor for this list, so the response contains every matching payment to deposit at once.",
        "x-daapi-qbxml": {
          "message": "ReceivePaymentToDepositQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of payment to deposits.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPaymentsToDepositList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/payroll-wage-items": {
      "get": {
        "operationId": "qbd.payrollWageItems.list",
        "tags": [
          "Payroll wage items"
        ],
        "summary": "List payroll wage items",
        "description": "Returns the payroll wage items that match your filters. QuickBooks has no cursor for this list, so the response contains every matching payroll wage item at once.",
        "x-daapi-qbxml": {
          "message": "PayrollItemWageQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the payroll wage items with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the payroll wage items with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the payroll wage items with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the payroll wage items with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of payroll wage items to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of payroll wage items to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter payroll wage items by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter payroll wage items by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return payroll wage items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return payroll wage items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return payroll wage items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return payroll wage items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payroll wage items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payroll wage items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payroll wage items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payroll wage items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payroll wage items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return payroll wage items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payroll wage items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return payroll wage items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return payroll wage items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return payroll wage items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Accepted for Conductor compatibility. This list always returns every record in one page, so there is never a cursor to send; any value returns 400 CURSOR_INVALID."
            },
            "required": false,
            "description": "Accepted for Conductor compatibility. This list always returns every record in one page, so there is never a cursor to send; any value returns 400 CURSOR_INVALID.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of payroll wage items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPayrollWageItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.payrollWageItems.create",
        "tags": [
          "Payroll wage items"
        ],
        "summary": "Create a payroll wage item",
        "description": "Creates a payroll wage item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second payroll wage item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "PayrollItemWageAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPayrollWageItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created payroll wage item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPayrollWageItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/payroll-wage-items/{id}": {
      "get": {
        "operationId": "qbd.payrollWageItems.retrieve",
        "tags": [
          "Payroll wage items"
        ],
        "summary": "Retrieve a payroll wage item",
        "description": "Returns one payroll wage item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "PayrollItemWageQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the payroll wage item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the payroll wage item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The payroll wage item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPayrollWageItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/preferences": {
      "get": {
        "operationId": "qbd.preferences.retrieve",
        "tags": [
          "Preferences"
        ],
        "summary": "Retrieve company preferences",
        "description": "Returns company-wide QuickBooks preference settings.",
        "x-daapi-qbxml": {
          "message": "PreferencesQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "The preferences.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPreference"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/price-levels": {
      "get": {
        "operationId": "qbd.priceLevels.list",
        "tags": [
          "Price levels"
        ],
        "summary": "List price levels",
        "description": "Returns the price levels that match your filters. QuickBooks has no cursor for this list, so the response contains every matching price level at once.",
        "x-daapi-qbxml": {
          "message": "PriceLevelQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the price levels with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, itemId, currencyIds."
            },
            "required": false,
            "description": "Return only the price levels with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, itemId, currencyIds.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the price levels with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, itemId, currencyIds."
            },
            "required": false,
            "description": "Return only the price levels with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, itemId, currencyIds.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of price levels to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of price levels to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter price levels by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter price levels by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return price levels changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return price levels changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return price levels changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return price levels changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return price levels whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return price levels whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return price levels whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return price levels whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return price levels whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return price levels whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return price levels whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return price levels whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return price levels whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return price levels whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "Return price levels for this item ID. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return price levels for this item ID. Cannot be combined with ids, names.",
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only price levels in these currency IDs. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return only price levels in these currency IDs. Cannot be combined with ids, names.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of price levels.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPriceLevelList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.priceLevels.create",
        "tags": [
          "Price levels"
        ],
        "summary": "Create a price level",
        "description": "Creates a price level in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second price level (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "PriceLevelAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPriceLevelCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created price level.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPriceLevel"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/price-levels/{id}": {
      "get": {
        "operationId": "qbd.priceLevels.retrieve",
        "tags": [
          "Price levels"
        ],
        "summary": "Retrieve a price level",
        "description": "Returns one price level by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "PriceLevelQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the price level.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the price level.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The price level.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPriceLevel"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.priceLevels.update",
        "tags": [
          "Price levels"
        ],
        "summary": "Update a price level",
        "description": "Changes the fields you send on an existing price level and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the price level, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "PriceLevelMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the price level.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the price level.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPriceLevelUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated price level.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPriceLevel"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/purchase-orders": {
      "get": {
        "operationId": "qbd.purchaseOrders.list",
        "tags": [
          "Purchase orders"
        ],
        "summary": "List purchase orders",
        "description": "Returns the purchase orders that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "PurchaseOrderQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the purchase orders with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the purchase orders with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only purchase orders with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only purchase orders with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of purchase orders per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of purchase orders per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return purchase orders changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return purchase orders changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return purchase orders changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return purchase orders changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return purchase orders dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return purchase orders dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return purchase orders dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return purchase orders dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only purchase orders linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only purchase orders linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only purchase orders that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only purchase orders that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return purchase orders whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return purchase orders whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return purchase orders whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return purchase orders whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return purchase orders whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return purchase orders whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return purchase orders whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return purchase orders whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return purchase orders whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return purchase orders whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only purchase orders in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only purchase orders in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each purchase order. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each purchase order. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each purchase order, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each purchase order, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of purchase orders.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPurchaseOrderList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.purchaseOrders.create",
        "tags": [
          "Purchase orders"
        ],
        "summary": "Create a purchase order",
        "description": "Creates a purchase order in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second purchase order (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "PurchaseOrderAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPurchaseOrderCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created purchase order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPurchaseOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/purchase-orders/{id}": {
      "get": {
        "operationId": "qbd.purchaseOrders.retrieve",
        "tags": [
          "Purchase orders"
        ],
        "summary": "Retrieve a purchase order",
        "description": "Returns one purchase order by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "PurchaseOrderQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the purchase order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the purchase order.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The purchase order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPurchaseOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.purchaseOrders.update",
        "tags": [
          "Purchase orders"
        ],
        "summary": "Update a purchase order",
        "description": "Changes the fields you send on an existing purchase order and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the purchase order, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "PurchaseOrderMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the purchase order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the purchase order.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdPurchaseOrderUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated purchase order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPurchaseOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.purchaseOrders.delete",
        "tags": [
          "Purchase orders"
        ],
        "summary": "Delete a purchase order",
        "description": "Permanently deletes a purchase order. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=PurchaseOrder"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the purchase order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the purchase order.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted purchase order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdPurchaseOrderDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/receive-payments": {
      "get": {
        "operationId": "qbd.receivePayments.list",
        "tags": [
          "Receive payments"
        ],
        "summary": "List received payments",
        "description": "Returns the received payments that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ReceivePaymentQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the received payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the received payments with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only received payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only received payments with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of received payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of received payments per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return received payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return received payments changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return received payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return received payments changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return received payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return received payments dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return received payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return received payments dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only received payments linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only received payments linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only received payments that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only received payments that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return received payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return received payments whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return received payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return received payments whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return received payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return received payments whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return received payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return received payments whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return received payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return received payments whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only received payments in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only received payments in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each received payment. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each received payment. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of received payments.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReceivePaymentList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.receivePayments.create",
        "tags": [
          "Receive payments"
        ],
        "summary": "Create a received payment",
        "description": "Creates a received payment in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second received payment (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ReceivePaymentAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdReceivePaymentCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created received payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReceivePayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/receive-payments/{id}": {
      "get": {
        "operationId": "qbd.receivePayments.retrieve",
        "tags": [
          "Receive payments"
        ],
        "summary": "Retrieve a received payment",
        "description": "Returns one received payment by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ReceivePaymentQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the received payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the received payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The received payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReceivePayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.receivePayments.update",
        "tags": [
          "Receive payments"
        ],
        "summary": "Update a received payment",
        "description": "Changes the fields you send on an existing received payment and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the received payment, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ReceivePaymentMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the received payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the received payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdReceivePaymentUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated received payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReceivePayment"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.receivePayments.delete",
        "tags": [
          "Receive payments"
        ],
        "summary": "Delete a received payment",
        "description": "Permanently deletes a received payment. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=ReceivePayment"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the received payment.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the received payment.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted received payment.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReceivePaymentDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/general-summary": {
      "get": {
        "operationId": "qbd.reports.generalSummary",
        "tags": [
          "Reports"
        ],
        "summary": "Run a general summary report",
        "description": "Runs the QuickBooks general summary report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "GeneralSummaryReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdGeneralSummaryReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeColumnsBy"
            },
            "required": false,
            "description": "Filter by summarize columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Filter by include subcolumns."
            },
            "required": false,
            "description": "Filter by include subcolumns.",
            "name": "includeSubcolumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportCalendar"
            },
            "required": false,
            "description": "Filter by report calendar.",
            "name": "reportCalendar",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdColumnsToReturn"
            },
            "required": false,
            "description": "Filter by return rows.",
            "name": "rowsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdColumnsToReturn"
                },
                {
                  "description": "Filter by return columns."
                }
              ]
            },
            "required": false,
            "description": "Filter by return columns.",
            "name": "columnsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBasis"
            },
            "required": false,
            "description": "Filter by report basis.",
            "name": "basis",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/general-detail": {
      "get": {
        "operationId": "qbd.reports.generalDetail",
        "tags": [
          "Reports"
        ],
        "summary": "Run a general detail report",
        "description": "Runs the QuickBooks general detail report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "GeneralDetailReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdGeneralDetailReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeRowsBy"
            },
            "required": false,
            "description": "Filter by summarize rows by.",
            "name": "summarizeRowsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdIncludeColumn"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by include columns."
            },
            "required": false,
            "description": "Filter by include columns.",
            "style": "form",
            "explode": true,
            "name": "includeColumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountsToInclude"
            },
            "required": false,
            "description": "Filter by include accounts.",
            "name": "accountsToInclude",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdOpenBalanceAsOf"
            },
            "required": false,
            "description": "Filter by report open balance as of.",
            "name": "openBalanceAsOf",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBasis"
            },
            "required": false,
            "description": "Filter by report basis.",
            "name": "basis",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/aging": {
      "get": {
        "operationId": "qbd.reports.aging",
        "tags": [
          "Reports"
        ],
        "summary": "Run an aging report",
        "description": "Runs the QuickBooks aging report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "AgingReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAgingReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdIncludeColumn"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by include columns."
            },
            "required": false,
            "description": "Filter by include columns.",
            "style": "form",
            "explode": true,
            "name": "includeColumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountsToInclude"
            },
            "required": false,
            "description": "Filter by include accounts.",
            "name": "accountsToInclude",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdOpenBalanceAsOf"
                },
                {
                  "description": "Filter by report aging as of.",
                  "default": "report_end_date"
                }
              ]
            },
            "required": false,
            "description": "Filter by report aging as of.",
            "name": "agingAsOf",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/budget-summary": {
      "get": {
        "operationId": "qbd.reports.budgetSummary",
        "tags": [
          "Reports"
        ],
        "summary": "Run a budget summary report",
        "description": "Runs the QuickBooks budget summary report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "BudgetSummaryReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBudgetSummaryReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": [
                "integer",
                "null"
              ],
              "description": "Filter by fiscal year."
            },
            "required": false,
            "description": "Filter by fiscal year.",
            "name": "fiscalYear",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBudgetCriterion"
            },
            "required": false,
            "description": "Filter by budget criterion.",
            "name": "budgetCriterion",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportSummarizeColumnsBy"
            },
            "required": false,
            "description": "Filter by summarize budget columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportSummarizeRowsBy"
            },
            "required": false,
            "description": "Filter by summarize budget rows by.",
            "name": "summarizeRowsBy",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/job": {
      "get": {
        "operationId": "qbd.reports.job",
        "tags": [
          "Reports"
        ],
        "summary": "Run a job report",
        "description": "Runs the QuickBooks job report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "JobReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdJobReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeColumnsBy"
            },
            "required": false,
            "description": "Filter by summarize columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Filter by include subcolumns."
            },
            "required": false,
            "description": "Filter by include subcolumns.",
            "name": "includeSubcolumns",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/time": {
      "get": {
        "operationId": "qbd.reports.time",
        "tags": [
          "Reports"
        ],
        "summary": "Run a time report",
        "description": "Runs the QuickBooks time report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "TimeReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdTimeReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeColumnsBy"
            },
            "required": false,
            "description": "Filter by summarize columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdIncludeColumn"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by include columns."
            },
            "required": false,
            "description": "Filter by include columns.",
            "style": "form",
            "explode": true,
            "name": "includeColumns",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Filter by include subcolumns."
            },
            "required": false,
            "description": "Filter by include subcolumns.",
            "name": "includeSubcolumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportCalendar"
            },
            "required": false,
            "description": "Filter by report calendar.",
            "name": "reportCalendar",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdColumnsToReturn"
            },
            "required": false,
            "description": "Filter by return rows.",
            "name": "rowsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdColumnsToReturn"
                },
                {
                  "description": "Filter by return columns."
                }
              ]
            },
            "required": false,
            "description": "Filter by return columns.",
            "name": "columnsToReturn",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/custom-detail": {
      "get": {
        "operationId": "qbd.reports.customDetail",
        "tags": [
          "Reports"
        ],
        "summary": "Run a custom detail report",
        "description": "Runs the QuickBooks custom detail report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "CustomDetailReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdCustomDetailReportType"
            },
            "required": false,
            "description": "Which report in this family to run. Optional: the only value, custom_transaction_detail, is the default.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeRowsBy"
            },
            "required": true,
            "description": "Filter by summarize rows by.",
            "name": "summarizeRowsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdIncludeColumn"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by include columns."
            },
            "required": true,
            "description": "Filter by include columns.",
            "style": "form",
            "explode": true,
            "name": "includeColumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountsToInclude"
            },
            "required": false,
            "description": "Filter by include accounts.",
            "name": "accountsToInclude",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdOpenBalanceAsOf"
            },
            "required": false,
            "description": "Filter by report open balance as of.",
            "name": "openBalanceAsOf",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBasis"
            },
            "required": false,
            "description": "Filter by report basis.",
            "name": "basis",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/custom-summary": {
      "get": {
        "operationId": "qbd.reports.customSummary",
        "tags": [
          "Reports"
        ],
        "summary": "Run a custom summary report",
        "description": "Runs the QuickBooks custom summary report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "CustomSummaryReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdCustomSummaryReportType"
            },
            "required": false,
            "description": "Which report in this family to run. Optional: the only value, custom_summary, is the default.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types."
            },
            "required": false,
            "description": "Filter by transaction types.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeColumnsBy"
            },
            "required": true,
            "description": "Filter by summarize columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeRowsBy"
            },
            "required": true,
            "description": "Filter by summarize rows by.",
            "name": "summarizeRowsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Filter by include subcolumns."
            },
            "required": false,
            "description": "Filter by include subcolumns.",
            "name": "includeSubcolumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportCalendar"
            },
            "required": false,
            "description": "Filter by report calendar.",
            "name": "reportCalendar",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdColumnsToReturn"
            },
            "required": false,
            "description": "Filter by return rows.",
            "name": "rowsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdColumnsToReturn"
                },
                {
                  "description": "Filter by return columns."
                }
              ]
            },
            "required": false,
            "description": "Filter by return columns.",
            "name": "columnsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdBasis"
            },
            "required": false,
            "description": "Filter by report basis.",
            "name": "basis",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/payroll-detail": {
      "get": {
        "operationId": "qbd.reports.payrollDetail",
        "tags": [
          "Reports"
        ],
        "summary": "Run a payroll detail report",
        "description": "Runs the QuickBooks payroll detail report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "PayrollDetailReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPayrollDetailReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeRowsBy"
            },
            "required": false,
            "description": "Filter by summarize rows by.",
            "name": "summarizeRowsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdIncludeColumn"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by include columns."
            },
            "required": false,
            "description": "Filter by include columns.",
            "style": "form",
            "explode": true,
            "name": "includeColumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountsToInclude"
            },
            "required": false,
            "description": "Filter by include accounts.",
            "name": "accountsToInclude",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdOpenBalanceAsOf"
            },
            "required": false,
            "description": "Filter by report open balance as of.",
            "name": "openBalanceAsOf",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/reports/payroll-summary": {
      "get": {
        "operationId": "qbd.reports.payrollSummary",
        "tags": [
          "Reports"
        ],
        "summary": "Run a payroll summary report",
        "description": "Runs the QuickBooks payroll summary report family and returns its rows and columns as JSON. See [Reports](https://www.desktopaccountingapi.com/docs/quickbooks/reports/) for the row and column model.",
        "x-daapi-qbxml": {
          "message": "PayrollSummaryReportQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPayrollSummaryReportType"
            },
            "required": true,
            "description": "Which report in this family to run.",
            "name": "reportType",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "First date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro."
            },
            "required": false,
            "description": "Last date of the report period (YYYY-MM-DD). Cannot be combined with reportDateMacro.",
            "name": "reportDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with reportDateFrom, reportDateTo.",
            "name": "reportDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdAccountType"
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with accountIds, accountFullNames.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames."
            },
            "required": false,
            "description": "Return only reports that use these account IDs. Cannot be combined with accountType, accountFullNames.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds."
            },
            "required": false,
            "description": "Limit the report to these account full names. Cannot be combined with accountType, accountIds.",
            "style": "form",
            "explode": true,
            "name": "accountFullNames",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdEntityType"
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with entityIds, entityFullNames.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames."
            },
            "required": false,
            "description": "Return only reports linked to these entity IDs. Cannot be combined with entityType, entityFullNames.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds."
            },
            "required": false,
            "description": "Limit the report to these entity full names. Cannot be combined with entityType, entityIds.",
            "style": "form",
            "explode": true,
            "name": "entityFullNames",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with itemIds, itemFullNames.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames."
            },
            "required": false,
            "description": "Return only reports that include these item IDs. Cannot be combined with itemType, itemFullNames.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds."
            },
            "required": false,
            "description": "Limit the report to these item full names. Cannot be combined with itemType, itemIds.",
            "style": "form",
            "explode": true,
            "name": "itemFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames."
            },
            "required": false,
            "description": "Return only reports assigned to these class IDs. Cannot be combined with classFullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Limit the report to these class full names. Cannot be combined with classIds."
            },
            "required": false,
            "description": "Limit the report to these class full names. Cannot be combined with classIds.",
            "style": "form",
            "explode": true,
            "name": "classFullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by from report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro."
            },
            "required": false,
            "description": "Filter by to report modified date. Cannot be combined with updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdReportDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with fromReportModifiedDate, toReportModifiedDate.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDetailLevel"
            },
            "required": false,
            "description": "Filter by report detail level.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdPostingStatus"
            },
            "required": false,
            "description": "Filter by report posting status.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdSummarizeColumnsBy"
            },
            "required": false,
            "description": "Filter by summarize columns by.",
            "name": "summarizeColumnsBy",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Filter by include subcolumns."
            },
            "required": false,
            "description": "Filter by include subcolumns.",
            "name": "includeSubcolumns",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdReportCalendar"
            },
            "required": false,
            "description": "Filter by report calendar.",
            "name": "reportCalendar",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdColumnsToReturn"
            },
            "required": false,
            "description": "Filter by return rows.",
            "name": "rowsToReturn",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdColumnsToReturn"
                },
                {
                  "description": "Filter by return columns."
                }
              ]
            },
            "required": false,
            "description": "Filter by return columns.",
            "name": "columnsToReturn",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "The report.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdReport"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-orders": {
      "get": {
        "operationId": "qbd.salesOrders.list",
        "tags": [
          "Sales orders"
        ],
        "summary": "List sales orders",
        "description": "Returns the sales orders that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "SalesOrderQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales orders with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales orders with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales orders with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only sales orders with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of sales orders per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of sales orders per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales orders changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales orders changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales orders changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales orders changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales orders dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales orders dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales orders dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales orders dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales orders linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales orders linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales orders whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales orders whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales orders whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales orders whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales orders whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales orders whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales orders whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales orders whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales orders whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales orders whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales orders in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales orders in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each sales order. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each sales order. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each sales order, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each sales order, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales orders.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesOrderList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesOrders.create",
        "tags": [
          "Sales orders"
        ],
        "summary": "Create a sales order",
        "description": "Creates a sales order in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales order (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "SalesOrderAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesOrderCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-orders/{id}": {
      "get": {
        "operationId": "qbd.salesOrders.retrieve",
        "tags": [
          "Sales orders"
        ],
        "summary": "Retrieve a sales order",
        "description": "Returns one sales order by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "SalesOrderQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales order.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesOrders.update",
        "tags": [
          "Sales orders"
        ],
        "summary": "Update a sales order",
        "description": "Changes the fields you send on an existing sales order and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales order, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "SalesOrderMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales order.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesOrderUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesOrder"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.salesOrders.delete",
        "tags": [
          "Sales orders"
        ],
        "summary": "Delete a sales order",
        "description": "Permanently deletes a sales order. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=SalesOrder"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales order.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales order.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted sales order.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesOrderDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-receipts": {
      "get": {
        "operationId": "qbd.salesReceipts.list",
        "tags": [
          "Sales receipts"
        ],
        "summary": "List sales receipts",
        "description": "Returns the sales receipts that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "SalesReceiptQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales receipts with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales receipts with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales receipts with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only sales receipts with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, customerIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of sales receipts per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of sales receipts per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales receipts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales receipts changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales receipts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales receipts changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales receipts dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales receipts dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales receipts dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales receipts dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales receipts linked to these customer IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales receipts linked to these customer IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "customerIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales receipts that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales receipts that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales receipts whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales receipts whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales receipts whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales receipts whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales receipts whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales receipts whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales receipts whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales receipts whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales receipts whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales receipts whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales receipts in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales receipts in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each sales receipt. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each sales receipt. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales receipts.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceiptList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesReceipts.create",
        "tags": [
          "Sales receipts"
        ],
        "summary": "Create a sales receipt",
        "description": "Creates a sales receipt in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales receipt (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "SalesReceiptAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesReceiptCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-receipts/{id}": {
      "get": {
        "operationId": "qbd.salesReceipts.retrieve",
        "tags": [
          "Sales receipts"
        ],
        "summary": "Retrieve a sales receipt",
        "description": "Returns one sales receipt by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "SalesReceiptQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesReceipts.update",
        "tags": [
          "Sales receipts"
        ],
        "summary": "Update a sales receipt",
        "description": "Changes the fields you send on an existing sales receipt and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales receipt, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "SalesReceiptMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesReceiptUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceipt"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.salesReceipts.delete",
        "tags": [
          "Sales receipts"
        ],
        "summary": "Delete a sales receipt",
        "description": "Permanently deletes a sales receipt. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=SalesReceipt"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted sales receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceiptDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-receipts/{id}/void": {
      "post": {
        "operationId": "qbd.salesReceipts.void",
        "tags": [
          "Sales receipts"
        ],
        "summary": "Void a sales receipt",
        "description": "Voids a sales receipt: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the sales receipt must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=SalesReceipt"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales receipt.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales receipt.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided sales receipt.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesReceiptVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-representatives": {
      "get": {
        "operationId": "qbd.salesRepresentatives.list",
        "tags": [
          "Sales representatives"
        ],
        "summary": "List sales representatives",
        "description": "Returns the sales representatives that match your filters. QuickBooks has no cursor for this list, so the response contains every matching sales representative at once.",
        "x-daapi-qbxml": {
          "message": "SalesRepQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales representatives with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the sales representatives with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales representatives with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the sales representatives with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of sales representatives to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of sales representatives to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter sales representatives by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter sales representatives by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales representatives changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales representatives changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales representatives changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales representatives changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales representatives whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales representatives whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales representatives whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales representatives whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales representatives whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales representatives whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales representatives whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales representatives whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales representatives whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales representatives whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales representatives.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesRepresentativeList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesRepresentatives.create",
        "tags": [
          "Sales representatives"
        ],
        "summary": "Create a sales representative",
        "description": "Creates a sales representative in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales representative (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "SalesRepAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesRepresentativeCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales representative.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesRepresentative"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-representatives/{id}": {
      "get": {
        "operationId": "qbd.salesRepresentatives.retrieve",
        "tags": [
          "Sales representatives"
        ],
        "summary": "Retrieve a sales representative",
        "description": "Returns one sales representative by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "SalesRepQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales representative.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales representative.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales representative.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesRepresentative"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesRepresentatives.update",
        "tags": [
          "Sales representatives"
        ],
        "summary": "Update a sales representative",
        "description": "Changes the fields you send on an existing sales representative and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales representative, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "SalesRepMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales representative.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales representative.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesRepresentativeUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales representative.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesRepresentative"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-codes": {
      "get": {
        "operationId": "qbd.salesTaxCodes.list",
        "tags": [
          "Sales tax codes"
        ],
        "summary": "List sales tax codes",
        "description": "Returns the sales tax codes that match your filters. QuickBooks has no cursor for this list, so the response contains every matching sales tax code at once.",
        "x-daapi-qbxml": {
          "message": "SalesTaxCodeQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax codes with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the sales tax codes with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax codes with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the sales tax codes with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of sales tax codes to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of sales tax codes to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter sales tax codes by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter sales tax codes by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax codes changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax codes changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax codes changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax codes changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax codes whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax codes whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax codes whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax codes whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax codes whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax codes whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax codes whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax codes whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax codes whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax codes whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales tax codes.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxCodeList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxCodes.create",
        "tags": [
          "Sales tax codes"
        ],
        "summary": "Create a sales tax code",
        "description": "Creates a sales tax code in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales tax code (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "SalesTaxCodeAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxCodeCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales tax code.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxCode"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-codes/{id}": {
      "get": {
        "operationId": "qbd.salesTaxCodes.retrieve",
        "tags": [
          "Sales tax codes"
        ],
        "summary": "Retrieve a sales tax code",
        "description": "Returns one sales tax code by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "SalesTaxCodeQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax code.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax code.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales tax code.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxCode"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxCodes.update",
        "tags": [
          "Sales tax codes"
        ],
        "summary": "Update a sales tax code",
        "description": "Changes the fields you send on an existing sales tax code and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales tax code, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "SalesTaxCodeMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax code.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax code.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxCodeUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales tax code.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxCode"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-group-items": {
      "get": {
        "operationId": "qbd.salesTaxGroupItems.list",
        "tags": [
          "Sales tax group items"
        ],
        "summary": "List sales tax group items",
        "description": "Returns the sales tax group items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxGroupQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax group items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales tax group items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax group items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales tax group items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of sales tax group items per page, 1 to 150. Ignored with ids, names, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of sales tax group items per page, 1 to 150. Ignored with ids, names, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter sales tax group items by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter sales tax group items by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax group items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax group items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax group items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax group items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax group items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax group items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax group items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax group items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax group items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax group items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax group items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax group items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax group items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax group items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales tax group items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxGroupItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxGroupItems.create",
        "tags": [
          "Sales tax group items"
        ],
        "summary": "Create a sales tax group item",
        "description": "Creates a sales tax group item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales tax group item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxGroupAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxGroupItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales tax group item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxGroupItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-group-items/{id}": {
      "get": {
        "operationId": "qbd.salesTaxGroupItems.retrieve",
        "tags": [
          "Sales tax group items"
        ],
        "summary": "Retrieve a sales tax group item",
        "description": "Returns one sales tax group item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxGroupQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax group item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax group item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales tax group item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxGroupItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxGroupItems.update",
        "tags": [
          "Sales tax group items"
        ],
        "summary": "Update a sales tax group item",
        "description": "Changes the fields you send on an existing sales tax group item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales tax group item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxGroupMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax group item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax group item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxGroupItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales tax group item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxGroupItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-items": {
      "get": {
        "operationId": "qbd.salesTaxItems.list",
        "tags": [
          "Sales tax items"
        ],
        "summary": "List sales tax items",
        "description": "Returns the sales tax items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales tax items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales tax items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of sales tax items per page, 1 to 150. Ignored with ids, names, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of sales tax items per page, 1 to 150. Ignored with ids, names, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter sales tax items by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter sales tax items by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return sales tax items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return sales tax items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return sales tax items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales tax items assigned to these class IDs. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return only sales tax items assigned to these class IDs. Cannot be combined with ids, names.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales tax items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxItems.create",
        "tags": [
          "Sales tax items"
        ],
        "summary": "Create a sales tax item",
        "description": "Creates a sales tax item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales tax item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales tax item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-items/{id}": {
      "get": {
        "operationId": "qbd.salesTaxItems.retrieve",
        "tags": [
          "Sales tax items"
        ],
        "summary": "Retrieve a sales tax item",
        "description": "Returns one sales tax item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales tax item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxItems.update",
        "tags": [
          "Sales tax items"
        ],
        "summary": "Update a sales tax item",
        "description": "Changes the fields you send on an existing sales tax item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales tax item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemSalesTaxMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales tax item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-payment-checks": {
      "get": {
        "operationId": "qbd.salesTaxPaymentChecks.list",
        "tags": [
          "Sales tax payment checks"
        ],
        "summary": "List sales tax payment checks",
        "description": "Returns the sales tax payment checks that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "SalesTaxPaymentCheckQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the sales tax payment checks with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the sales tax payment checks with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales tax payment checks with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only sales tax payment checks with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, itemIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of sales tax payment checks per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of sales tax payment checks per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax payment checks changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales tax payment checks changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return sales tax payment checks changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales tax payment checks changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales tax payment checks dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales tax payment checks dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return sales tax payment checks dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return sales tax payment checks dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales tax payment checks linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales tax payment checks linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales tax payment checks that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales tax payment checks that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only sales tax payment checks that include these item IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only sales tax payment checks that include these item IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax payment checks whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales tax payment checks whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax payment checks whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales tax payment checks whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax payment checks whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return sales tax payment checks whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax payment checks whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales tax payment checks whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return sales tax payment checks whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return sales tax payment checks whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each sales tax payment check. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each sales tax payment check. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of sales tax payment checks.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxPaymentChecks.create",
        "tags": [
          "Sales tax payment checks"
        ],
        "summary": "Create a sales tax payment check",
        "description": "Creates a sales tax payment check in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second sales tax payment check (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "SalesTaxPaymentCheckAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created sales tax payment check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxPaymentCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/sales-tax-payment-checks/{id}": {
      "get": {
        "operationId": "qbd.salesTaxPaymentChecks.retrieve",
        "tags": [
          "Sales tax payment checks"
        ],
        "summary": "Retrieve a sales tax payment check",
        "description": "Returns one sales tax payment check by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "SalesTaxPaymentCheckQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax payment check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax payment check.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The sales tax payment check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxPaymentCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.salesTaxPaymentChecks.update",
        "tags": [
          "Sales tax payment checks"
        ],
        "summary": "Update a sales tax payment check",
        "description": "Changes the fields you send on an existing sales tax payment check and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the sales tax payment check, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "SalesTaxPaymentCheckMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax payment check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax payment check.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated sales tax payment check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxPaymentCheck"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.salesTaxPaymentChecks.delete",
        "tags": [
          "Sales tax payment checks"
        ],
        "summary": "Delete a sales tax payment check",
        "description": "Permanently deletes a sales tax payment check. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=SalesTaxPaymentCheck"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the sales tax payment check.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the sales tax payment check.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted sales tax payment check.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSalesTaxPaymentCheckDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/service-items": {
      "get": {
        "operationId": "qbd.serviceItems.list",
        "tags": [
          "Service items"
        ],
        "summary": "List service items",
        "description": "Returns the service items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemServiceQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the service items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the service items with these QuickBooks IDs. Cannot be combined with fullNames, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the service items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the service items with these full names (case-insensitive, including parent names separated by colons). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "fullNames",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of service items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of service items per page, 1 to 150. Ignored with ids, fullNames, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter service items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames."
                }
              ]
            },
            "required": false,
            "description": "Filter service items by active state. Defaults to active ones only. Cannot be combined with ids, fullNames.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return service items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return service items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return service items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return service items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, fullNames.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return service items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return service items whose name starts with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return service items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return service items whose name contains this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return service items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return service items whose name ends with this text (case-insensitive). Cannot be combined with ids, fullNames, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return service items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return service items whose name sorts at or after this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return service items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return service items whose name sorts at or before this value. Cannot be combined with ids, fullNames, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only service items assigned to these class IDs. Cannot be combined with ids, fullNames."
            },
            "required": false,
            "description": "Return only service items assigned to these class IDs. Cannot be combined with ids, fullNames.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of service items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdServiceItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.serviceItems.create",
        "tags": [
          "Service items"
        ],
        "summary": "Create a service item",
        "description": "Creates a service item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second service item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemServiceAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdServiceItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created service item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdServiceItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/service-items/{id}": {
      "get": {
        "operationId": "qbd.serviceItems.retrieve",
        "tags": [
          "Service items"
        ],
        "summary": "Retrieve a service item",
        "description": "Returns one service item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemServiceQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the service item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the service item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The service item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdServiceItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.serviceItems.update",
        "tags": [
          "Service items"
        ],
        "summary": "Update a service item",
        "description": "Changes the fields you send on an existing service item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the service item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemServiceMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the service item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the service item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdServiceItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated service item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdServiceItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/shipping-methods": {
      "get": {
        "operationId": "qbd.shippingMethods.list",
        "tags": [
          "Shipping methods"
        ],
        "summary": "List shipping methods",
        "description": "Returns the shipping methods that match your filters. QuickBooks has no cursor for this list, so the response contains every matching shipping method at once.",
        "x-daapi-qbxml": {
          "message": "ShipMethodQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the shipping methods with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the shipping methods with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the shipping methods with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the shipping methods with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of shipping methods to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of shipping methods to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter shipping methods by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter shipping methods by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return shipping methods changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return shipping methods changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return shipping methods changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return shipping methods changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return shipping methods whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return shipping methods whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return shipping methods whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return shipping methods whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return shipping methods whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return shipping methods whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return shipping methods whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return shipping methods whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return shipping methods whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return shipping methods whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of shipping methods.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdShippingMethodList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.shippingMethods.create",
        "tags": [
          "Shipping methods"
        ],
        "summary": "Create a shipping method",
        "description": "Creates a shipping method in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second shipping method (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ShipMethodAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdShippingMethodCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created shipping method.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdShippingMethod"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/shipping-methods/{id}": {
      "get": {
        "operationId": "qbd.shippingMethods.retrieve",
        "tags": [
          "Shipping methods"
        ],
        "summary": "Retrieve a shipping method",
        "description": "Returns one shipping method by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ShipMethodQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the shipping method.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the shipping method.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The shipping method.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdShippingMethod"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/standard-terms": {
      "get": {
        "operationId": "qbd.standardTerms.list",
        "tags": [
          "Standard terms"
        ],
        "summary": "List standard terms",
        "description": "Returns the standard terms that match your filters. QuickBooks has no cursor for this list, so the response contains every matching standard term at once.",
        "x-daapi-qbxml": {
          "message": "StandardTermsQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the standard terms with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the standard terms with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the standard terms with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the standard terms with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of standard terms to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of standard terms to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter standard terms by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter standard terms by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return standard terms changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return standard terms changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return standard terms changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return standard terms changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return standard terms whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return standard terms whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return standard terms whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return standard terms whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return standard terms whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return standard terms whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return standard terms whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return standard terms whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return standard terms whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return standard terms whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of standard terms.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdStandardTermList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.standardTerms.create",
        "tags": [
          "Standard terms"
        ],
        "summary": "Create a standard term",
        "description": "Creates a standard term in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second standard term (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "StandardTermsAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdStandardTermCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created standard term.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdStandardTerm"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/standard-terms/{id}": {
      "get": {
        "operationId": "qbd.standardTerms.retrieve",
        "tags": [
          "Standard terms"
        ],
        "summary": "Retrieve a standard term",
        "description": "Returns one standard term by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "StandardTermsQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the standard term.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the standard term.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The standard term.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdStandardTerm"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/subtotal-items": {
      "get": {
        "operationId": "qbd.subtotalItems.list",
        "tags": [
          "Subtotal items"
        ],
        "summary": "List subtotal items",
        "description": "Returns the subtotal items that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "ItemSubtotalQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the subtotal items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the subtotal items with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the subtotal items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the subtotal items with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of subtotal items per page, 1 to 150. Ignored with ids, names, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of subtotal items per page, 1 to 150. Ignored with ids, names, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter subtotal items by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter subtotal items by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return subtotal items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return subtotal items changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return subtotal items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return subtotal items changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return subtotal items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return subtotal items whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return subtotal items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return subtotal items whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return subtotal items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return subtotal items whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return subtotal items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return subtotal items whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return subtotal items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return subtotal items whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of subtotal items.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSubtotalItemList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.subtotalItems.create",
        "tags": [
          "Subtotal items"
        ],
        "summary": "Create a subtotal item",
        "description": "Creates a subtotal item in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second subtotal item (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "ItemSubtotalAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSubtotalItemCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created subtotal item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSubtotalItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/subtotal-items/{id}": {
      "get": {
        "operationId": "qbd.subtotalItems.retrieve",
        "tags": [
          "Subtotal items"
        ],
        "summary": "Retrieve a subtotal item",
        "description": "Returns one subtotal item by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "ItemSubtotalQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the subtotal item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the subtotal item.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The subtotal item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSubtotalItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.subtotalItems.update",
        "tags": [
          "Subtotal items"
        ],
        "summary": "Update a subtotal item",
        "description": "Changes the fields you send on an existing subtotal item and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the subtotal item, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "ItemSubtotalMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the subtotal item.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the subtotal item.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdSubtotalItemUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated subtotal item.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdSubtotalItem"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/templates": {
      "get": {
        "operationId": "qbd.templates.list",
        "tags": [
          "Templates"
        ],
        "summary": "List templates",
        "description": "Returns the templates that match your filters. QuickBooks has no cursor for this list, so the response contains every matching template at once.",
        "x-daapi-qbxml": {
          "message": "TemplateQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of templates.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTemplateList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/time-tracking-activities": {
      "get": {
        "operationId": "qbd.timeTrackingActivities.list",
        "tags": [
          "Time tracking activities"
        ],
        "summary": "List time tracking activities",
        "description": "Returns the time tracking activities that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "TimeTrackingQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the time tracking activities with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the time tracking activities with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, entityIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of time tracking activities per page, 1 to 150. Ignored with ids, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of time tracking activities per page, 1 to 150. Ignored with ids, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return time tracking activities changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return time tracking activities changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return time tracking activities changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return time tracking activities changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return time tracking activities dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return time tracking activities dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return time tracking activities dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return time tracking activities dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only time tracking activities linked to these entity IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only time tracking activities linked to these entity IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of time tracking activities.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTimeTrackingActivityList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.timeTrackingActivities.create",
        "tags": [
          "Time tracking activities"
        ],
        "summary": "Create a time tracking activity",
        "description": "Creates a time tracking activity in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second time tracking activity (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "TimeTrackingAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdTimeTrackingActivityCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created time tracking activity.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTimeTrackingActivity"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/time-tracking-activities/{id}": {
      "get": {
        "operationId": "qbd.timeTrackingActivities.retrieve",
        "tags": [
          "Time tracking activities"
        ],
        "summary": "Retrieve a time tracking activity",
        "description": "Returns one time tracking activity by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "TimeTrackingQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the time tracking activity.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the time tracking activity.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The time tracking activity.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTimeTrackingActivity"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.timeTrackingActivities.update",
        "tags": [
          "Time tracking activities"
        ],
        "summary": "Update a time tracking activity",
        "description": "Changes the fields you send on an existing time tracking activity and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the time tracking activity, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "TimeTrackingMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the time tracking activity.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the time tracking activity.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdTimeTrackingActivityUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated time tracking activity.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTimeTrackingActivity"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.timeTrackingActivities.delete",
        "tags": [
          "Time tracking activities"
        ],
        "summary": "Delete a time tracking activity",
        "description": "Permanently deletes a time tracking activity. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=TimeTracking"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the time tracking activity.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the time tracking activity.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted time tracking activity.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTimeTrackingActivityDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/transactions": {
      "get": {
        "operationId": "qbd.transactions.list",
        "tags": [
          "Transactions"
        ],
        "summary": "List transactions",
        "description": "Returns the transactions that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "TransactionQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the transactions with these QuickBooks IDs. Cannot be combined with refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, updatedAfter, updatedBefore, updatedDateMacro, transactionDateFrom, transactionDateTo, transactionDateMacro, entityType, entityIds, accountType, accountIds, itemType, itemIds, classIds, transactionTypes, detailLevel, postingStatus, paymentStatus, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the transactions with these QuickBooks IDs. Cannot be combined with refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, updatedAfter, updatedBefore, updatedDateMacro, transactionDateFrom, transactionDateTo, transactionDateMacro, entityType, entityIds, accountType, accountIds, itemType, itemIds, classIds, transactionTypes, detailLevel, postingStatus, paymentStatus, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of transactions per page, 1 to 150. Ignored with ids, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of transactions per page, 1 to 150. Ignored with ids, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions with these reference numbers (case-insensitive). Cannot be combined with ids, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return only transactions with these reference numbers (case-insensitive). Cannot be combined with ids, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return transactions whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return transactions whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return transactions whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return transactions whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return transactions whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return transactions whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return transactions whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return transactions whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return transactions whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return transactions whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return transactions changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, updatedDateMacro."
            },
            "required": false,
            "description": "Return transactions changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, updatedDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return transactions changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, updatedDateMacro."
            },
            "required": false,
            "description": "Return transactions changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, updatedDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore.",
            "name": "updatedDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return transactions dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, transactionDateMacro."
            },
            "required": false,
            "description": "Return transactions dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return transactions dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, transactionDateMacro."
            },
            "required": false,
            "description": "Return transactions dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, transactionDateFrom, transactionDateTo."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdEntityType"
                },
                {
                  "description": "Filter by entity type. Cannot be combined with ids, entityIds."
                }
              ]
            },
            "required": false,
            "description": "Filter by entity type. Cannot be combined with ids, entityIds.",
            "name": "entityType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions linked to these entity IDs. Cannot be combined with ids, entityType."
            },
            "required": false,
            "description": "Return only transactions linked to these entity IDs. Cannot be combined with ids, entityType.",
            "style": "form",
            "explode": true,
            "name": "entityIds",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdAccountType"
                },
                {
                  "description": "Filter by account type. Cannot be combined with ids, accountIds."
                }
              ]
            },
            "required": false,
            "description": "Filter by account type. Cannot be combined with ids, accountIds.",
            "name": "accountType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions that use these account IDs. Cannot be combined with ids, accountType."
            },
            "required": false,
            "description": "Return only transactions that use these account IDs. Cannot be combined with ids, accountType.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdItemType"
                },
                {
                  "description": "Filter by item type. Cannot be combined with ids, itemIds."
                }
              ]
            },
            "required": false,
            "description": "Filter by item type. Cannot be combined with ids, itemIds.",
            "name": "itemType",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions that include these item IDs. Cannot be combined with ids, itemType."
            },
            "required": false,
            "description": "Return only transactions that include these item IDs. Cannot be combined with ids, itemType.",
            "style": "form",
            "explode": true,
            "name": "itemIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions assigned to these class IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only transactions assigned to these class IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/QbdTransactionType"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Filter by transaction types. Cannot be combined with ids."
            },
            "required": false,
            "description": "Filter by transaction types. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "transactionTypes",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdTransactionDetailLevel"
            },
            "required": false,
            "description": "Filter by detail level. Cannot be combined with ids.",
            "name": "detailLevel",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdPostingStatus"
                },
                {
                  "description": "Filter by posting status. Cannot be combined with ids.",
                  "default": "either"
                }
              ]
            },
            "required": false,
            "description": "Filter by posting status. Cannot be combined with ids.",
            "name": "postingStatus",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdTransactionPaymentStatus"
            },
            "required": false,
            "description": "Filter transactions by payment state. Cannot be combined with ids.",
            "name": "paymentStatus",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only transactions in these currency IDs. Cannot be combined with ids."
            },
            "required": false,
            "description": "Return only transactions in these currency IDs. Cannot be combined with ids.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of transactions.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransactionList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/transactions/{id}": {
      "get": {
        "operationId": "qbd.transactions.retrieve",
        "tags": [
          "Transactions"
        ],
        "summary": "Retrieve a transaction",
        "description": "Returns one transaction by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "TransactionQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the transaction.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the transaction.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The transaction.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransaction"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/transfers": {
      "get": {
        "operationId": "qbd.transfers.list",
        "tags": [
          "Transfers"
        ],
        "summary": "List transfers",
        "description": "Returns the transfers that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "TransferQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the transfers with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the transfers with these QuickBooks IDs. Cannot be combined with updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of transfers per page, 1 to 150. Ignored with ids, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of transfers per page, 1 to 150. Ignored with ids, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return transfers changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return transfers changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return transfers changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return transfers changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return transfers dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return transfers dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return transfers dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return transfers dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdDateMacro"
                },
                {
                  "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo."
                }
              ]
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of transfers.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransferList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.transfers.create",
        "tags": [
          "Transfers"
        ],
        "summary": "Create a transfer",
        "description": "Creates a transfer in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second transfer (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "TransferAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdTransferCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created transfer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransfer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/transfers/{id}": {
      "get": {
        "operationId": "qbd.transfers.retrieve",
        "tags": [
          "Transfers"
        ],
        "summary": "Retrieve a transfer",
        "description": "Returns one transfer by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "TransferQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the transfer.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the transfer.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The transfer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransfer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.transfers.update",
        "tags": [
          "Transfers"
        ],
        "summary": "Update a transfer",
        "description": "Changes the fields you send on an existing transfer and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the transfer, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "TransferMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the transfer.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the transfer.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdTransferUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated transfer.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdTransfer"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/unit-of-measure-sets": {
      "get": {
        "operationId": "qbd.unitOfMeasureSets.list",
        "tags": [
          "Unit of measure sets"
        ],
        "summary": "List unit of measure sets",
        "description": "Returns the unit of measure sets that match your filters. QuickBooks has no cursor for this list, so the response contains every matching unit of measure set at once.",
        "x-daapi-qbxml": {
          "message": "UnitOfMeasureSetQuery"
        },
        "x-daapi-pagination": "none",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the unit of measure sets with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the unit of measure sets with these QuickBooks IDs. Cannot be combined with names, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the unit of measure sets with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return only the unit of measure sets with these names (case-insensitive). Cannot be combined with ids, limit, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "description": "Maximum number of unit of measure sets to return. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Maximum number of unit of measure sets to return. Cannot be combined with ids, names.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter unit of measure sets by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter unit of measure sets by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return unit of measure sets changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return unit of measure sets changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return unit of measure sets changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return unit of measure sets changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return unit of measure sets whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return unit of measure sets whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return unit of measure sets whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return unit of measure sets whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return unit of measure sets whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return unit of measure sets whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return unit of measure sets whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return unit of measure sets whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return unit of measure sets whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return unit of measure sets whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of unit of measure sets.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdUnitOfMeasureSetList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.unitOfMeasureSets.create",
        "tags": [
          "Unit of measure sets"
        ],
        "summary": "Create an unit of measure set",
        "description": "Creates an unit of measure set in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second unit of measure set (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "UnitOfMeasureSetAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdUnitOfMeasureSetCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created unit of measure set.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdUnitOfMeasureSet"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/unit-of-measure-sets/{id}": {
      "get": {
        "operationId": "qbd.unitOfMeasureSets.retrieve",
        "tags": [
          "Unit of measure sets"
        ],
        "summary": "Retrieve an unit of measure set",
        "description": "Returns one unit of measure set by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "UnitOfMeasureSetQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the unit of measure set.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the unit of measure set.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The unit of measure set.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdUnitOfMeasureSet"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/vendor-credits": {
      "get": {
        "operationId": "qbd.vendorCredits.list",
        "tags": [
          "Vendor credits"
        ],
        "summary": "List vendor credits",
        "description": "Returns the vendor credits that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "VendorCreditQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the vendor credits with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the vendor credits with these QuickBooks IDs. Cannot be combined with refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendor credits with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only vendor credits with these reference numbers (case-insensitive). Cannot be combined with ids, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo, transactionDateMacro, vendorIds, accountIds, refNumberStartsWith, refNumberContains, refNumberEndsWith, refNumberFrom, refNumberTo, currencyIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "refNumbers",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of vendor credits per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of vendor credits per page, 1 to 150. Ignored with ids, refNumbers, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return vendor credits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return vendor credits changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return vendor credits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro."
            },
            "required": false,
            "description": "Return vendor credits changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, refNumbers, transactionDateFrom, transactionDateTo, transactionDateMacro.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return vendor credits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return vendor credits dated on or after this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "format": "date",
              "description": "Return vendor credits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro."
            },
            "required": false,
            "description": "Return vendor credits dated on or before this date (YYYY-MM-DD). Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateMacro.",
            "name": "transactionDateTo",
            "in": "query"
          },
          {
            "schema": {
              "$ref": "#/components/schemas/QbdDateMacro"
            },
            "required": false,
            "description": "Relative date range such as this_month, used instead of explicit dates. Cannot be combined with ids, refNumbers, updatedAfter, updatedBefore, transactionDateFrom, transactionDateTo.",
            "name": "transactionDateMacro",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendor credits linked to these vendor IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only vendor credits linked to these vendor IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "vendorIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendor credits that use these account IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only vendor credits that use these account IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "accountIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendor credits whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return vendor credits whose reference number starts with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendor credits whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return vendor credits whose reference number contains this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendor credits whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo."
            },
            "required": false,
            "description": "Return vendor credits whose reference number ends with this text (case-insensitive). Cannot be combined with ids, refNumbers, refNumberFrom, refNumberTo.",
            "name": "refNumberEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendor credits whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return vendor credits whose reference number sorts at or after this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendor credits whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith."
            },
            "required": false,
            "description": "Return vendor credits whose reference number sorts at or before this value. Cannot be combined with ids, refNumbers, refNumberStartsWith, refNumberContains, refNumberEndsWith.",
            "name": "refNumberTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendor credits in these currency IDs. Cannot be combined with ids, refNumbers."
            },
            "required": false,
            "description": "Return only vendor credits in these currency IDs. Cannot be combined with ids, refNumbers.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include line items on each vendor credit. Defaults to true.",
              "default": true
            },
            "required": false,
            "description": "Whether to include line items on each vendor credit. Defaults to true.",
            "name": "includeLineItems",
            "in": "query"
          },
          {
            "schema": {
              "type": "boolean",
              "description": "Whether to include transactions linked to each vendor credit, such as payments.",
              "default": false
            },
            "required": false,
            "description": "Whether to include transactions linked to each vendor credit, such as payments.",
            "name": "includeLinkedTransactions",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of vendor credits.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCreditList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.vendorCredits.create",
        "tags": [
          "Vendor credits"
        ],
        "summary": "Create a vendor credit",
        "description": "Creates a vendor credit in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second vendor credit (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "VendorCreditAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdVendorCreditCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created vendor credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/vendor-credits/{id}": {
      "get": {
        "operationId": "qbd.vendorCredits.retrieve",
        "tags": [
          "Vendor credits"
        ],
        "summary": "Retrieve a vendor credit",
        "description": "Returns one vendor credit by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "VendorCreditQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The vendor credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.vendorCredits.update",
        "tags": [
          "Vendor credits"
        ],
        "summary": "Update a vendor credit",
        "description": "Changes the fields you send on an existing vendor credit and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the vendor credit, reapply your change and send the new revision. Sending a line array replaces all existing lines of that kind. Line arrays you omit stay unchanged: when you send only some of them, the API first reads the transaction (a separate read in the request log) and keeps the omitted lines by ID, because QuickBooks would otherwise delete them. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "VendorCreditMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdVendorCreditUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated vendor credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCredit"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "qbd.vendorCredits.delete",
        "tags": [
          "Vendor credits"
        ],
        "summary": "Delete a vendor credit",
        "description": "Permanently deletes a vendor credit. Deleting cannot be undone. Deleted transactions remain visible for 90 days through the deleted-transactions list. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnDel"
        },
        "x-daapi-notes": [
          "TxnDelType=VendorCredit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The deleted vendor credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCreditDeleted"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/vendor-credits/{id}/void": {
      "post": {
        "operationId": "qbd.vendorCredits.void",
        "tags": [
          "Vendor credits"
        ],
        "summary": "Void a vendor credit",
        "description": "Voids a vendor credit: QuickBooks keeps the record but sets its amounts to zero. Use void instead of delete when the vendor credit must stay in the audit trail. Send an `Idempotency-Key` to make retries safe.",
        "x-daapi-qbxml": {
          "message": "TxnVoid"
        },
        "x-daapi-notes": [
          "TxnVoidType=VendorCredit"
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor credit.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor credit.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The voided vendor credit.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorCreditVoided"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `IDEMPOTENCY_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/vendors": {
      "get": {
        "operationId": "qbd.vendors.list",
        "tags": [
          "Vendors"
        ],
        "summary": "List vendors",
        "description": "Returns the vendors that match your filters. Results are paged: pass `nextCursor` as `cursor` until `hasMore` is false. A cursor lives only inside the current QuickBooks session, so request the next page promptly; an expired cursor returns `410 CURSOR_EXPIRED`. See [Pagination](https://www.desktopaccountingapi.com/docs/guides/pagination/).",
        "x-daapi-qbxml": {
          "message": "VendorQuery"
        },
        "x-daapi-pagination": "cursor",
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the vendors with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the vendors with these QuickBooks IDs. Cannot be combined with names, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "ids",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only the vendors with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored."
            },
            "required": false,
            "description": "Return only the vendors with these names (case-insensitive). Cannot be combined with ids, status, updatedAfter, updatedBefore, nameStartsWith, nameContains, nameEndsWith, nameFrom, nameTo, totalBalance, totalBalanceGreaterThan, totalBalanceGreaterThanOrEqualTo, totalBalanceLessThan, totalBalanceLessThanOrEqualTo, currencyIds, classIds. Returns every match in one page (`nextCursor` is null); limit is ignored.",
            "style": "form",
            "explode": true,
            "name": "names",
            "in": "query"
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 150,
              "default": 150,
              "description": "Maximum number of vendors per page, 1 to 150. Ignored with ids, names, which return every match in one page."
            },
            "required": false,
            "description": "Maximum number of vendors per page, 1 to 150. Ignored with ids, names, which return every match in one page.",
            "name": "limit",
            "in": "query"
          },
          {
            "schema": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/QbdActiveStatus"
                },
                {
                  "description": "Filter vendors by active state. Defaults to active ones only. Cannot be combined with ids, names."
                }
              ]
            },
            "required": false,
            "description": "Filter vendors by active state. Defaults to active ones only. Cannot be combined with ids, names.",
            "name": "status",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return vendors changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors changed on or after this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedAfter",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^\\d{4}-\\d{2}-\\d{2}(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{1,9})?)?(Z|[+-]\\d{2}:\\d{2})?)?$",
              "x-daapi-format": "date-or-date-time",
              "example": "2026-10-05T09:14:03-07:00",
              "description": "Return vendors changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors changed on or before this date or date-time (QuickBooks local time unless an offset is given). Cannot be combined with ids, names.",
            "name": "updatedBefore",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendors whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return vendors whose name starts with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameStartsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendors whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return vendors whose name contains this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameContains",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendors whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo."
            },
            "required": false,
            "description": "Return vendors whose name ends with this text (case-insensitive). Cannot be combined with ids, names, nameFrom, nameTo.",
            "name": "nameEndsWith",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendors whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return vendors whose name sorts at or after this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameFrom",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Return vendors whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith."
            },
            "required": false,
            "description": "Return vendors whose name sorts at or before this value. Cannot be combined with ids, names, nameStartsWith, nameContains, nameEndsWith.",
            "name": "nameTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return vendors whose total balance equals this amount (decimal string). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors whose total balance equals this amount (decimal string). Cannot be combined with ids, names.",
            "name": "totalBalance",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return vendors whose total balance is greater than this amount (decimal string). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors whose total balance is greater than this amount (decimal string). Cannot be combined with ids, names.",
            "name": "totalBalanceGreaterThan",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return vendors whose total balance is at least this amount (decimal string). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors whose total balance is at least this amount (decimal string). Cannot be combined with ids, names.",
            "name": "totalBalanceGreaterThanOrEqualTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return vendors whose total balance is less than this amount (decimal string). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors whose total balance is less than this amount (decimal string). Cannot be combined with ids, names.",
            "name": "totalBalanceLessThan",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "pattern": "^-?\\d{1,13}(\\.\\d{1,2})?$",
              "description": "Return vendors whose total balance is at most this amount (decimal string). Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return vendors whose total balance is at most this amount (decimal string). Cannot be combined with ids, names.",
            "name": "totalBalanceLessThanOrEqualTo",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendors in these currency IDs. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return only vendors in these currency IDs. Cannot be combined with ids, names.",
            "style": "form",
            "explode": true,
            "name": "currencyIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 36
              },
              "minItems": 1,
              "maxItems": 100,
              "description": "Return only vendors assigned to these class IDs. Cannot be combined with ids, names."
            },
            "required": false,
            "description": "Return only vendors assigned to these class IDs. Cannot be combined with ids, names.",
            "style": "form",
            "explode": true,
            "name": "classIds",
            "in": "query"
          },
          {
            "schema": {
              "type": "string",
              "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page."
            },
            "required": false,
            "description": "Cursor from the previous page's nextCursor. Send it with no other filters to fetch the next page.",
            "name": "cursor",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "A list of vendors.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendorList"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`, `CURSOR_INVALID`, `CURSOR_PARAMS_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "The cursor expired. Codes: `CURSOR_EXPIRED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `QBD_RESPONSE_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.vendors.create",
        "tags": [
          "Vendors"
        ],
        "summary": "Create a vendor",
        "description": "Creates a vendor in QuickBooks Desktop and returns it. Send an `Idempotency-Key` header so a retry after a network error never creates a second vendor (the SDKs do this for you). See [Idempotency and safe retries](https://www.desktopaccountingapi.com/docs/guides/idempotency/).",
        "x-daapi-qbxml": {
          "message": "VendorAdd"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdVendorCreateInput"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The created vendor.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendor"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/quickbooks-desktop/vendors/{id}": {
      "get": {
        "operationId": "qbd.vendors.retrieve",
        "tags": [
          "Vendors"
        ],
        "summary": "Retrieve a vendor",
        "description": "Returns one vendor by its QuickBooks ID. An unknown ID returns `404 QBD_OBJECT_NOT_FOUND`.",
        "x-daapi-qbxml": {
          "message": "VendorQuery"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor.",
            "name": "id",
            "in": "path"
          }
        ],
        "responses": {
          "200": {
            "description": "The vendor.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendor"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "The request is invalid. Codes: `UNKNOWN_HEADER`, `END_USER_ID_MISSING`, `INVALID_PARAMETER`, `UNKNOWN_PARAMETER`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "qbd.vendors.update",
        "tags": [
          "Vendors"
        ],
        "summary": "Update a vendor",
        "description": "Changes the fields you send on an existing vendor and leaves omitted fields unchanged. Requires the current `revisionNumber`. A stale `revisionNumber` returns `409 QBD_REVISION_NUMBER_STALE`: retrieve the vendor, reapply your change and send the new revision. See [Updates and line items](https://www.desktopaccountingapi.com/docs/quickbooks/updates-and-line-items/).",
        "x-daapi-qbxml": {
          "message": "VendorMod"
        },
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/DaapiEndUserId"
          },
          {
            "$ref": "#/components/parameters/DaapiTimeoutSeconds"
          },
          {
            "$ref": "#/components/parameters/Prefer"
          },
          {
            "$ref": "#/components/parameters/DaapiQueueTtlSeconds"
          },
          {
            "$ref": "#/components/parameters/IdempotencyKey"
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 36,
              "description": "QuickBooks ID of the vendor.",
              "example": "80000001-1234567890"
            },
            "required": true,
            "description": "QuickBooks ID of the vendor.",
            "name": "id",
            "in": "path"
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QbdVendorUpdateInput"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated vendor.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QbdVendor"
                }
              }
            }
          },
          "202": {
            "description": "Accepted in async mode (`Prefer: respond-async`). Poll `Location` or wait for a webhook; the request's `result` holds the success body.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Location": {
                "description": "Path of the request resource, `/v1/requests/{id}`.",
                "schema": {
                  "type": "string"
                }
              },
              "Preference-Applied": {
                "description": "`respond-async` when async mode was honored.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Request"
                }
              }
            }
          },
          "400": {
            "description": "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`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "The API key is missing or invalid. Codes: `API_KEY_MISSING`, `API_KEY_INVALID`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Billing blocks production data requests. Codes: `BILLING_REQUIRED`, `PAYMENT_FAILED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "The operation is not permitted. Codes: `INTEGRATION_CONNECTION_DISABLED`, `PERMISSION_DENIED`, `QBD_INSUFFICIENT_PERMISSION`, `API_KEY_READ_ONLY`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "The object does not exist in this project. Codes: `RESOURCE_MISSING`, `QBD_OBJECT_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "The request conflicts with the current state. Codes: `INTEGRATION_CONNECTION_NOT_SET_UP`, `QBD_COMPANY_FILE_MISMATCH`, `QBD_DUPLICATE_NAME`, `QBD_OBJECT_IN_USE`, `QBD_REVISION_NUMBER_STALE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "413": {
            "description": "The request body is too large. Codes: `PAYLOAD_TOO_LARGE`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "The request is well formed but cannot be processed. Codes: `QBD_FIELD_UNSUPPORTED_BY_VERSION`, `QBD_REGION_UNSUPPORTED`, `QBD_REQUEST_ERROR`, `QBD_FEATURE_NOT_ENABLED`, `IDEMPOTENCY_KEY_REUSED`, `QBD_REFERENCE_NOT_FOUND`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Too many requests. Codes: `RATE_LIMITED`, `CONNECTION_QUEUE_FULL`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Unexpected server error. Codes: `INTERNAL_ERROR`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "The result could not be confirmed. Codes: `QBD_READ_INTERRUPTED`, `QBD_WRITE_OUTCOME_UNKNOWN`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "503": {
            "description": "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_VERSION_UNSUPPORTED`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "504": {
            "description": "The request timed out. Codes: `REQUEST_TIMEOUT_NOT_SENT`, `QBD_REQUEST_TIMEOUT`.",
            "headers": {
              "Daapi-Request-Id": {
                "description": "Unique ID of this API call (`req_...`). Present on every response.",
                "schema": {
                  "type": "string"
                }
              },
              "RateLimit-Limit": {
                "description": "Requests allowed per window for the project (all keys together).",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Remaining": {
                "description": "Requests left in the current window, as counted by the edge location that served this call.",
                "schema": {
                  "type": "integer"
                }
              },
              "RateLimit-Reset": {
                "description": "Seconds until the current window resets.",
                "schema": {
                  "type": "integer"
                }
              },
              "Daapi-Should-Retry": {
                "description": "`true` when repeating the identical request can succeed. SDKs follow it instead of status-code heuristics.",
                "schema": {
                  "type": "string",
                  "enum": [
                    "true",
                    "false"
                  ]
                }
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying, on 429 and on retryable 503 responses when a wait is known.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "webhooks": {}
}
